Title: Javascript, CSS, Media and Images Caching
Last modified: August 24, 2020

---

# Javascript, CSS, Media and Images Caching

 *  Resolved [stuartpw](https://wordpress.org/support/users/stuartpw/)
 * (@stuartpw)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-css-media-and-images-caching/)
 * Currently:-
    Apache Server / WordPress with Divi and started to optimise using
   Hummingbird.
 * Currently trying to cache the JavaScript, CSS, Media and Images (1 year), but
   following the instructions its saying within the Hummingbird admin panel false
   or more often disabled. I change the timeout and get “Code snippet updated”.
   
   When I recheck I still have it as “disabled”
 * I have copied the code to .htaccess and the domain configuration file (before
   the directory), but alas nothing seems to work.
 * I’ve also disabled the Divi caching to stop any conflicts:-
 * Divi >> Theme Options >> General >> Minify And Combine Javascript Files
    Divi
   >> Theme Options >> General >> Minify And Combine CSS Files Divi >> Theme Options
   >> Builder >> Advanced >> Static CSS File Generation
 * Any Ideas??
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-css-media-and-images-caching%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 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/javascript-css-media-and-images-caching/#post-13313359)
 * Hello [@stuartpw](https://wordpress.org/support/users/stuartpw/) ,
 * I’m sorry about this issue.
 * I’ve tested on my site if Hummingbird can add caching rules to htaccess file 
   and it worked fine.
 * Can you contact your hosting provider and ask if they are allowing browser cache
   to be configured from the htaccess file level? In very rare cases there are restrictions
   in the server configuration and rules in htaccess can’t override it.
 * kind regards,
    Kasia
 *  Thread Starter [stuartpw](https://wordpress.org/support/users/stuartpw/)
 * (@stuartpw)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-css-media-and-images-caching/#post-13315036)
 * Hi Kasia,
 * I’ve checked what modules Apache is runniung this morning and I can see the ones
   required for caching are active:-
 * cache_module (shared)
    cache_disk_module (shared) expires_module (shared) headers_module(
   shared)
 * Is there any other modules that are required?
 * Regards
    Stuart
 *  Thread Starter [stuartpw](https://wordpress.org/support/users/stuartpw/)
 * (@stuartpw)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-css-media-and-images-caching/#post-13315059)
 * Strange thing I just ran through the setup again… it did give me one error aout
   the module being used by another plugin, but then after a refresh all seem ok?
 *  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/javascript-css-media-and-images-caching/#post-13329654)
 * Hello [@stuartpw](https://wordpress.org/support/users/stuartpw/) ,
 * Does it mean that Hummingbird shows now that caching is enabled?
 * kind regards,
    Kasia
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-css-media-and-images-caching/#post-13395110)
 * Hello there [@stuartpw](https://wordpress.org/support/users/stuartpw/)
 * It’s been a while since we’ve heard back from you so I’m going to mark this topic
   as resolved. You can still post back any updates and we can continue.
 * Take care,
    Dimitris

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

The topic ‘Javascript, CSS, Media and Images Caching’ 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/)

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [media](https://wordpress.org/support/topic-tag/media/)

 * 5 replies
 * 3 participants
 * Last reply from: [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-css-media-and-images-caching/#post-13395110)
 * Status: resolved