Title: Cache Control Headers
Last modified: September 29, 2017

---

# Cache Control Headers

 *  Resolved Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cache-control-headers-3/)
 * Hi, I am using Cache-Control plugin ([https://wordpress.org/plugins/cache-control/](https://wordpress.org/plugins/cache-control/))
   which allows you to set a different cache expiry for different parts of the website
   such as homepage vs posts.
 * These headers aren’t applied when i use cache enabler plugin and the developer
   of the plugin said it’s likely that cache enabler strips them out. Is it possible
   to get both plugins working together, so i can set different cache expiry times?
   Thanks

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

 *  [codyarsenault](https://wordpress.org/support/users/codyarsenault/)
 * (@codyarsenault)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cache-control-headers-3/#post-9542385)
 * I tried using the Cache-Control plugin you mentioned with a couple of other caching
   plugins (WP Fastest Cache and WP Super Cache) and in all cases the Cache-Control
   header was removed.
 * With Cache Enabler you can specify a Cache Expiry time if that helps.
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cache-control-headers-3/#post-9542417)
 * Hi Cody, yes that was my experience also. Other caching plugins removed the cache
   control headers, except for when i use the litespeed cache plugin ([https://wordpress.org/plugins/litespeed-cache/](https://wordpress.org/plugins/litespeed-cache/)).
   That keeps the headers in place.
 * I realize i can set a cache expiry time in cache enabler, but was really looking
   for a way to set a long expiry for posts which never change and a shorter expiry
   for pages, such as homepage, which change frequently.
 * I guess this isn’t possible then with cache enabler if it strips the cache control
   headers?
 *  [codyarsenault](https://wordpress.org/support/users/codyarsenault/)
 * (@codyarsenault)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cache-control-headers-3/#post-9543061)
 * That’s correct, it isn’t possible at this time.
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/cache-control-headers-3/#post-9588032)
 * Hi Cody,
 * Do you think it would be possible to get the cache control headers working with
   Cache Enabler in a future update? Such as by whitelisting the headers?
 * Or do you know if this would be possible to do in htaccess? You advised me once
   before on getting the security headers working via htaccess with Cache Enabler,
   so i’m wondering if something similar is possible?
 * I find Cache Enabler to be the best caching plugin and i keep coming back to 
   it as it’s very lightweight and simple to use. Just the cache control headers
   i’m having an issue with.
 * Thanks

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

The topic ‘Cache Control Headers’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: Anonymous User 14978628
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/cache-control-headers-3/#post-9588032)
 * Status: resolved