Title: Cache Issues
Last modified: August 14, 2020

---

# Cache Issues

 *  Resolved [katehackett](https://wordpress.org/support/users/katehackett/)
 * (@katehackett)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cache-issues-12/)
 * Hi, I’m trying to change my cache expiry for javascript, css, and images but 
   I’m not able to do it via .htaccess OR automatically. Nothing is working and 
   DreamHost can’t do anything on their end?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-issues-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cache-issues-12/#post-13277340)
 * Hello [@katehackett](https://wordpress.org/support/users/katehackett/) ,
 * I’m afraid that the link you shared is not working. Can you give us the correct
   link, so we could have a closer look on your site?
 * kind regards,
    Kasia
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cache-issues-12/#post-13282356)
 * Hi Kate, I’m looking at your .htaccess right now (I work at DreamHost) and I 
   see your hummingbird settings are there (included at the end here).
 * You’re on DreamPress, though, which means if you changed that and didn’t flush
   cache, you MAY still be getting old data. This was posted 4 days ago, though,
   so maybe it resolved? (Sorry I didn’t see it, don’t crash your bicycle like I
   did)
 *     ```
       # BEGIN WP-HUMMINGBIRD-CACHING
       # The directives (lines) between "BEGIN WP-HUMMINGBIRD-CACHING" and "END WP-HUMMINGBIRD-CACHING" are
       # dynamically generated, and should only be modified via WordPress filters.
       # Any changes to the directives between these markers will be overwritten.
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresDefault A0
   
       <FilesMatch "\.(txt|xml|js)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(css)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
       ExpiresDefault A31536000
       </FilesMatch>
       </IfModule>
   
       <IfModule mod_headers.c>
         <FilesMatch "\.(txt|xml|js)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(css)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
       </IfModule>
       # END WP-HUMMINGBIRD-CACHING
       ```
   

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

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

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/cache-issues-12/#post-13282356)
 * Status: resolved