• Resolved allnamestaken

    (@allnamestaken)


    If yes how would I fix this?

    Page caching is working for static page but seems not working for dynamic pages.
    Page caching is working for static page but seems not working for dynamic pages.

    Error on dynamic page (https://www.wm-roofing.com): Invalid Cache-Control response header. If you are using Litespeed Server, please disable the option Overwrite the cache-control header for WordPress’s pages using web server rules, purge the cache and retry.

    Please check if the page caching is working by yourself by surfing the website in incognito mode ’cause sometimes Cloudflare bypass the cache for cURL requests. Reload a page two or three times. If you see the response header cf-cache-status: HIT, the page caching is working well.

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

    (@isaumya)

    Hi @allnamestaken,
    Just looked at the response header of your website and I can confirm that the CDN level page caching is working fine.

    The only thing is that there is 2 cache-control headers present. Please check from where Cache-Control: max-age=7200 is getting added and remove that if you can.

    Screenshot: https://i.imgur.com/Ncw7pyE.jpeg

    Thread Starter allnamestaken

    (@allnamestaken)

    Thank you I got it fixed and cache test passes now.
    Shared hosting had endurance cache installed, removing it and deleting htaccess file (wordpress recreated new one) fixed it for me.

    Thank you!

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @allnamestaken,
    I’m happy to hear that your problem has been resolved now. 🙂

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

The topic ‘is this a false negative?’ is closed to new replies.