• Hello, I am unable to test cache with the plugin from cloud flare I get prompted with this message. “Page caching seems not working for both dynamic and static pages.” Also when testing on GTmetrix I get a 11 second load time because of it i think. I feel like the caching on the server side is not working.

    I have wp rocket plug in working but I don’t know to how stop it caching to let cloud flare do the caching instead.

    WordPress fix

    • This topic was modified 1 year, 8 months ago by wehawt.
    • This topic was modified 1 year, 8 months ago by wehawt.

    The page I need help with: [log in to see the link]

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

    (@isaumya)

    Hi @wehawt,
    Looking at the response header of your website, I can see the following:

    1. This plugin is not active on your website. When this plugin is active , it adds a few extra response headers and they are missing which means this plugin is not active on your website.
    2. the value of cache-control header is not being handled by this plugin but instead it is managed by either some server rule (like htaccess rules) or some other caching system you have on the website. I can see Endurance Cache, NGINX Cache being mentioned in the response header. Please note that it is highly recommended not to use more than one page caching system at the same time. So, if you wish to use this plugin then please make sure: (1) you have removed any server rule that might be adding/modifying the cache-control header and (2) you have removed/disabled endurance cache, nginx cache, and any other server-level caching system you have from your website so that this plugin can do its job.

    Once these matters are taken care of the plugin will work as it should.
    Screenshot: https://i.imgur.com/V47CMD2.jpeg

    Thread Starter wehawt

    (@wehawt)

    Hello Mr Majumder, and thank you for your time. But I do not know how to access the place you are at with the screenshot. I tried searching with inspect on the header but I was not able to get to your screen. To check if it was properly working.

    And I have no clue about the “server rule that might be adding/modifying the?cache-control?header” that you are referring about.

    Now I have deactivated all the different plugins that could be caching. And test cache is now working. But i have a feeling it is not working correctly as i have now 20 seconds loading time on GTmetrix. Before it was 3 seconds.

    View post on imgur.com

    • This reply was modified 1 year, 8 months ago by wehawt.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @wehawt,
    As I can see now, your pages are properly getting cached at Cloudflare CDN and your webpages are being served from Cloudflare CDN edge cache.
    Screenshot: https://i.imgur.com/ENRNgVZ.jpeg

    Thread Starter wehawt

    (@wehawt)

    Hello @isaumya thank you very much, and finally is there a way to use wp rocket without interfering with the Cloudflare CDN caching?

    • This reply was modified 1 year, 8 months ago by wehawt.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @wehawt,
    There is a way (check: https://gist.github.com/isaumya/d5990b036e0ed2ac55631995f862f4b8), but I would personally recommend you to not use some other plugin like Perfmatters, Autoptimize which are dedicated static file and other optimization plugin and does not do any page caching.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page caching seems not working for both dynamic and static pages.’ is closed to new replies.