Title: Test Cache Error &#8211; Invalid Cache-Control
Last modified: March 3, 2023

---

# Test Cache Error – Invalid Cache-Control

 *  Resolved [zuevro](https://wordpress.org/support/users/zuevro/)
 * (@zuevro)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/)
 * When I try to check if the cache is working, I get the following error.
 * Page caching is working for static page but seems not working for dynamic pages.
 * Error on dynamic page ([https://selfevolves.com](https://selfevolves.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.
 * Earlier I tried to set up LiteSpeed and CDN quic.cloud, but I deleted that setting
   completely, recreated CloudFlare, and created a new htaccess, but the error did
   not go away.
 * Any help would help, thanks.
    -  This topic was modified 3 years, 3 months ago by [zuevro](https://wordpress.org/support/users/zuevro/).

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16531171)
 * Hi [@zuevro](https://wordpress.org/support/users/zuevro/),
   Looking at the response
   header of your website I do not see this plugin being active: [https://i.imgur.com/S1zKe0X.jpeg](https://i.imgur.com/S1zKe0X.jpeg)
 * Can you please enable this plugin, set it up and let me know so that I can check
   your website again to see what’s going on?
 *  [central4all](https://wordpress.org/support/users/central4allgmailcom/)
 * (@central4allgmailcom)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16532570)
 * Same problem here
 * age caching seems not working for both dynamic and static pages.
 * Error on dynamic page ([https://seeme.baby](https://seeme.baby)): Cache status:
   DYNAMIC – The resource was not cached by default and your current Cloudflare 
   caching configuration doesn’t instruct Cloudflare to cache the resource. Instead,
   the resource was requested from the origin web server.
 * Error on static resource ([https://seeme.baby/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html](https://seeme.baby/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html)):
   Unable to find the Cache-Control response header.
 * 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.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535432)
 * Hi [@central4allgmailcom](https://wordpress.org/support/users/central4allgmailcom/),
   
   Looking at the response header of your website I can see that you are using the
   official Cloudflare plugin + APO along with this plugin. Please note that it 
   is not supported. You can either choose to use the Cloudflare official WordPress
   plugin along with APO or you can use this plugin but not both.
 * If you wish to use this plugin, please delete the official Cloudflare plugin 
   from your website and disable APO inside Cloudflare dashboard.
 * Beside that, looking at the response header of your website, everything seems
   to be working properly. Screenshot: 
   [https://i.imgur.com/qHPOFAh.jpeg](https://i.imgur.com/qHPOFAh.jpeg)
 *  [central4all](https://wordpress.org/support/users/central4allgmailcom/)
 * (@central4allgmailcom)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535492)
 * Is installed but is not active
 * [https://prnt.sc/Jl0C5HQAzTKN](https://prnt.sc/Jl0C5HQAzTKN)
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535591)
 * Hi [@central4allgmailcom](https://wordpress.org/support/users/central4allgmailcom/),
   
   Please delete that plugin and also disable APO from the Cloudflare dashboard 
   as according to the response header the APO is still enabled on your website.
 *  [central4all](https://wordpress.org/support/users/central4allgmailcom/)
 * (@central4allgmailcom)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535612)
 * Done , but still gives error
 *  [central4all](https://wordpress.org/support/users/central4allgmailcom/)
 * (@central4allgmailcom)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535616)
 * Now is ok

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

The topic ‘Test Cache Error – Invalid Cache-Control’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [central4all](https://wordpress.org/support/users/central4allgmailcom/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/test-cache-error-invalid-cache-control/#post-16535616)
 * Status: resolved