Title: Caching
Last modified: September 1, 2016

---

# Caching

 *  [dmitrinaz](https://wordpress.org/support/users/dmitrinaz/)
 * (@dmitrinaz)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/caching-26/)
 * There are many great plugins that help you to cache and optimize your website
   and integrate with many other CDNS.
 * However, none of them offers you simple functionality. I found a very simple 
   [plugin](https://wordpress.org/plugins/cache-control/) that does it job to my
   needs
 * However, it’s still doesn’t override the caching for pages, I would prefer to
   enable 0 seconds cache and revalidate the content everytime, this way if the 
   content has not been changed, it will not send the whole file, but will be 304
   response code.
 * The main issue I see, is the prgama: no-cache header and I can’t remove it. I
   tried adjusting it using .htaccess, but it didn’t help;
 *     ```
       <FilesMatch "^(\/|\/\.*\/)$">
               <ifModule mod_headers.c>
                       Header unset Pragma
                       Header unset ETag
                       Header unset Expires
               </ifModule>
       </FilesMatch>
       ```
   
 * This rule still didn’t remove the pragma: no-cache header from the homepage or
   any other page.
 * How can I remove the pragma: no-cache for pages, posts?

The topic ‘Caching’ is closed to new replies.

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [homepage](https://wordpress.org/support/topic-tag/homepage/)
 * [no-cache](https://wordpress.org/support/topic-tag/no-cache/)
 * [pragma](https://wordpress.org/support/topic-tag/pragma/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dmitrinaz](https://wordpress.org/support/users/dmitrinaz/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/caching-26/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
