Title: Cache expired
Last modified: May 4, 2020

---

# Cache expired

 *  Resolved [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/)
 * I have re checked configuration mutile times, still keep getting the same message,
   Cache expired, try again.
 * Any ideas?
 * Logs dont show anything at all around CD communication, only some plugin info.
 * Headers can be tested:
 * [https://gianikulwant.singhc.com](https://gianikulwant.singhc.com)
    -  This topic was modified 6 years ago by [kenzi12](https://wordpress.org/support/users/kenzi12/).
    -  This topic was modified 6 years ago by [kenzi12](https://wordpress.org/support/users/kenzi12/).

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

 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12776181)
 * Hello,
    try to enable the option “Overwrite the cache-control header for WordPress’s
   pages using web server rules” and re-test
 * Let me know
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12776207)
 * Hi Salvatore
 * Its already enabled. I recativated the site a few times when troubesoothing, 
   no go. Should I disable it?
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12776246)
 * Interesting – Whether I enable that option or not..the htaccess.conf shows no
   entries from your plugin for cloudflare
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12776581)
 * Hi,
    is your .htaccess writable?
 * I see you are also using mod pagespeed. Disable it for page caching ’cause it
   overwrite the cache-control response header.
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12777015)
 * Ok thanks I will try this. Few queries:
 * 1. Im using this w3c caching with minify disabled.
    I have CF doing minify on
   css / js. Is that okay?
 * 2. Also is mod pagespeed a CF portal setting or your plugin setting?
 * 3. Im using bitnami aws image, for which there is no .htaccess file, but
    /opt/
   bitnami/apps/wordpress/conf/htaccess.conf.
 *     ```
       bitnami@ip:/opt/bitnami/apps/wordpress/conf$ cat htaccess.conf 
       <Directory "/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/akismet">
       # Only allow direct access to specific Web-available files.
   
       # Apache 2.2
       <IfModule !mod_authz_core.c>
       Order Deny,Allow
       Deny from all
       </IfModule>
   
       # Apache 2.4
       <IfModule mod_authz_core.c>
       Require all denied
       </IfModule>
   
       # Akismet CSS and JS
       <FilesMatch "^(form\.js|akismet\.js|akismet\.css)$">
       <IfModule !mod_authz_core.c>
       Allow from all
       </IfModule>
   
       <IfModule mod_authz_core.c>
       Require all granted
       </IfModule>
       </FilesMatch>
   
       # Akismet images
       <FilesMatch "^logo-full-2x\.png$">
       <IfModule !mod_authz_core.c>
       Allow from all
       </IfModule>
   
       <IfModule mod_authz_core.c>
       Require all granted
       </IfModule>
       </FilesMatch>
       </Directory>
       ```
   
 * Your help is much appreciated!
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12777785)
 * Hi Salvatore
 * I fixed this by disabling mod pagespeed
    [https://docs.bitnami.com/bch/apps/wordpress/administration/use-pagespeed/](https://docs.bitnami.com/bch/apps/wordpress/administration/use-pagespeed/)
 * FYI latest bitnami images dont have .htaccess rather htaccess.conf
    [https://docs.bitnami.com/oci/apps/wordpress/administration/use-htaccess/](https://docs.bitnami.com/oci/apps/wordpress/administration/use-htaccess/)
 * Many thanks for your help. I can see the CF cache cookie/header as HIT now in
   response.
 * Are you on slack by any chance?
    I wanted to check something with you.
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12778329)
 * Hi [@kenzi12](https://wordpress.org/support/users/kenzi12/) ,
    I’m glad you solved
   it 🙂
 * I am rarely on slack due of work. How about writing me an email?

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

The topic ‘Cache expired’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache](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
 * 2 participants
 * Last reply from: [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/cache-expired-2/#post-12778329)
 * Status: resolved