Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter budpierce

    (@budpierce)

    This is now sorted. Apologies

    Thanks for your prompt reply Saumya. I’ll keep you updated

    Hello Saumya

    Thank you for your response.

    I’ve done exactly what you asked & disabled WP Rocket for a few days. I still haven’t been able to retain a cf-cache status = HIT for more than a few hours with most elements.

    As a result, I cleared the Cloudflare cache again 24 hours ago, warmed everything up & achieved the following results on GT Metrix for 2 pages:

    https://gtmetrix.com/reports/www.kernowdirectmarketing.co.uk/NfrOb1Dg/

    https://gtmetrix.com/reports/www.kernowdirectmarketing.co.uk/IyGOM1QC/

    As you can see, I’m getting a CF-cache status = HIT on all the assets that should be cached.

    I’ve just rerun the reports of GT Metrix for those 2 pages 24 hours later: Here are the results

    https://gtmetrix.com/reports/www.kernowdirectmarketing.co.uk/sVZ6cs1O/

    https://gtmetrix.com/reports/www.kernowdirectmarketing.co.uk/t9h6NpFJ/

    As you can see, I’m getting lots of `misses’. Indeed, on one page I even get a miss on the HTML element.

    Here are the stats from Cloudflare. Bear in mind that this site is not live & not indexed by Google therefore traffic is very low:

    Overview for last 24 hrs
    Total Requests
    2.17k

    Percent Cached
    78.17%

    Total Data Served
    23 MB

    Data Cached
    18 MB

    Cache Reserve

    Cache sync:
    Cached assets are being copied to a storage bucket

    Current data stored:
    2.7 MB
    1 Oct – 11 Oct usage for kernowdirectmarketing.co.uk

    Aggregate storage usage:
    5.53 MB-days
    Read operations:
    0
    Write operations:
    0

    Hope this helps

    Thanking you in anticipation

    Kevin

    Hello

    I hope that this won’t be considered a hijack of maxsteelz’s enquiry but I thought I would reply to this rather than open a new support ticket is because I’m experiencing very similar problems but with additional caveats:

    I’m actually am using the Cloudflare Cache reserve with Tiered cache because like maxsteelz I have a low traffic site so this should be the perfect solution to ensure that my content is always cached by Cloudflare.

    I can also confirm that I’m using Apache as the web server & I’ve also changed the plugin settings to add the proper cache control for static files as you instructed here: (ie “P.S.: Also do enable the option inside the plugin settings to add the proper cache control header for the static files: https://i.imgur.com/1oJeuXr.jpeg”)

    Furthermore I believe I have implemented all the instructions detailed here to ensure that WP Super Page Cache interacts correctly with WP Rocket (ie https://gist.github.com/isaumya/d5990b036e0ed2ac55631995f862f4b8)

    After opening all the pages on my website I’ve then tested it on GTMetrix & received a cf-cache-status of `HIT’ for the HTML & all the static files, thus all good at this stage.

    However, when I test again 2 or more hours later, whilst the HTML element retains a cf-cache-status of HIT', the static elements like images change to a cf-cache-status ofEXPIRED’.

    Am I doing something wrong ?

    Many thanks

    Kevin

    Thread Starter budpierce

    (@budpierce)

    Benjamin

    Thank you so much. Apologies from me. I edited the header in the main theme but did not check for duplication of code in the header of the child theme. That’s very stupid of me.

    I’ve left you a 5* review & I’ll be leaving myself a 1* star review for being so dumb.

    I’ll be buying the Pro Version of the plugin now.

    Thanks again, Kevin

    Thread Starter budpierce

    (@budpierce)

    Hello Benjamin

    I’ve just emailed a zipped copy of my theme to you.

    Many thanks, Kevin

    Thread Starter budpierce

    (@budpierce)

    Hello Benjamin

    Thanks so much for your reply

    The theme I am using is Woothemes Canvas.

    I can confirm that the header.php has been edited. The exact code I have removed is:
    <title><?php woo_title(); ?></title>

    ( The line you specified: “<title><?php wp_title(); ?></title>” was not present in header.php)

    Yes, there are 2 title tags in the source code. I believe the first title tag is added by the theme. The second title tag is what I have specified within the SEO Press plugin.

    Hope this helps.

    Thanks again, Kevin

    Thanks so much for your prompt & detailed reply.

    Just to give you a few examples, I ran 4 tests to measure load time for uc.js for your demo site & my website on 4 different locations on GTMetrix. (By the way, I’m located in England )

    kernowdirectmarketing.co.uk Canada 470ms
    cookiebotdemo.azurewebsites.net Canada 465ms
    kernowdirectmarketing.co.uk London 64ms
    cookiebotdemo.azurewebsites.net London 67ms
    kernowdirectmarketing.co.uk Dallas 528ms
    cookiebotdemo.azurewebsites.net Dallas 628ms
    kernowdirectmarketing.co.uk Sydney 984ms
    cookiebotdemo.azurewebsites.net Sydney 960ms

    And here are a few more results, just for my website, from Webpagetest for servers located a little closer to me

    Dublin First view 361ms
    Dublin Second view 187ms
    Dublin Third view 209ms

    Maidenhead (england) First view 292ms
    Maidenhead (england) Second view 206ms
    Maidenhead (england) Third view 344ms

    London First view 263ms
    London Second view 222ms
    London Third view 180ms

    So whilst I was able to almost exactly replicate your stated load time by using the GT Metrix server located in London, the load times elsewhere are significantly longer.

    Would you consider the load times indicated by GTMetrix & Webpagetest for uc.js to be inaccurate ?

    Many thanks

Viewing 8 replies - 1 through 8 (of 8 total)