• Resolved The Old Man

    (@graham-smith)


    Hello,

    Still love your plug-in (5 stars!) but I was wondering if you could add some ‘at a glance’ stats somewhere within the Settings GUI?

    It would be nice to know how many pages have been cached by the preloader without having to dig for the link that opens the list of cached pages. This page that opens is itself really useful and deserves better promotion! So perhaps a button to open it on the main page and perhaps a simple widget for the first dashboard page?

    If anyone else has missed this (easy to do, especially when using a mobile device!), just go to the settings and it’s about 75% of the way down the Cache tab/page, under Purge HTML pages only.

    Many thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,

    It would be impossible to get that stats page as Cloudflare doesn’t provide a list of pages that has been cached by the CDN.

    Thanks for your love. ??

    Thread Starter The Old Man

    (@graham-smith)

    Hi again,
    Thanks I understand. When you open that link though and it shows you a list of all pages that have been cached, there is a count at the top. Is it possible to make use of that count? Where does the data come from?

    ??

    Plugin Contributor iSaumya

    (@isaumya)

    Preloading pages doesn’t gurangee it being cached. That’s why I personally don’t use it and generally recommend people not to use it. Becuase the CF system has now become quite smart and many times when they see requests coming via cURL i.e. from a server and not from an actual user browser they don’t cache the content. And even if they cache the conetnt if there is no traffic t it, they will remove it from cache quite quickly.

    You should definately give this a read: https://acnam.com/untold-truths-of-cloudflare-cdn/#cloudflare-cache-creation-replication-storage

    Thread Starter The Old Man

    (@graham-smith)

    Thanks for the link, that was a really interesting read! I honestly never realised those aspects. I think everyone just assumes that they will cache your pages as you would expect so yes, it is a little unsettling that they may not on quieter sites. I’m happy with the caching. It’s just good to know roughly how many pages are cached. I now use the option to Cron the preloader twice a day to be on the safe side, I’ll explain below

    I use your plugin with Divi Theme and without it, the loading times are just terrible. One of my 2 sites let’s call it site A uses more CPU than the other Site B with uncached pages taking up to 28 seconds to load despite the server doing nothing, both don’t allow members or comments (8 core NVME VPS, 8GB RAM, Redis, MariaDB, PHP-FPM) but I’ve yet to track down the actual root cause even using all the usual methodology. I found the preloader useful as the cached pages load very fast. So as long as they are cached, that’s fine.

    Site A: https://gtmetrix.com/reports/sarahjaneredmond.com/jDNATMFA/

    https://gtmetrix.com/reports/prestatyn-scala.info/ogt4UzoM/

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    In that case, you can consider runnig the cron twice, but it is impossible to say exactly how many pages are cached in CDN.

    Thread Starter The Old Man

    (@graham-smith)

    Thank you. I was reading through the FAQ again and I was thinking for pages that CF haven’t yet cached that I might benefit from the Fallback Cache to avoid that long pause of up to 30 seconds on uncached pages.

    I did a quick check and the Smartcrawl sitemaps list:

    Site A: 144 pages and posts
    Site B: 132 posts and pages

    Do you think it would be worthwhile?

    Another question if I may? I noticed in GTMetrix that whilst the page shows as cached, every CSS, JS and image asset except the actual HTML always shows “cf-cache-status REVALIDATED” which I’ve never noticed before. I know it means that has still been served by the CF cache, but is that normal?

    Last question! Is there a way to exclude a path from the preloader or could you add a field in the settings to do it? I have an external third party gallery that isn’t powered by WordPress in a subfolder that has its own sitemaps and wanted to make sure that the crawler wasn’t wasting time/resources crawling that section of the site?

    Many thanks!

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    The fallback cache does a lot of disk read/write. So, if you don’t have a huge amount of content, then there won’t be any issues. But for very large sites I wouldgenerally recommend not using the fallback cache.

    For the static files, you can enable the option inside the plugin settings under the cache tab to add the proper cache control header for the static files.

    Thread Starter The Old Man

    (@graham-smith)

    Hi,

    Sorry, which option do you mean, Browser caching?

    Or is it “Overwrite the cache-control header for WordPress’s pages using web server rules”? I do have that enabled already and I’m using Apache not Nginx, but the link to the rules is missing where it says:

    Read here if you use Apache (htaccess): for overwriting to work, make sure that the rules added by Super Page Cache for Cloudflare are placed at the bottom of the htaccess file. If they are present BEFORE other caching rules of other plugins, move them to the bottom manually.”

    Plugin Contributor iSaumya

    (@isaumya)

    Under the cache tab if you scroll down to the end you will see an option to add proper cache control header for the static files.

    Thread Starter The Old Man

    (@graham-smith)

    Thank you, that fixed jt. Also installed Optimole, will clearing the cache affect Optimole? Thank you!

    Plugin Contributor iSaumya

    (@isaumya)

    That’s awesome. Yes this plugin works perfectly with Optimole. ??

    Happy to hear that yoru problem has been resolved. ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Cached pages stats’ is closed to new replies.