Leverage Browser Caching
-
Greetings Hummingbird Support Team:
I have set all the cache types for 8 days, copied and pasted the .htaccess cache code in my .htaccess file yet when I click the “R-ECHECK EXPIRY” button, I still have approximately 40 png, jpg, css and js files that Humming bird reports as having anywhere from no expiration date set to 25+ hours expiration.
Below is the Hummingbird .htaccess code:
# BEGIN WP-HUMMINGBIRD-CACHING
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A0<FilesMatch “\.(txt|xml|js)$”>
ExpiresDefault A691200
</FilesMatch><FilesMatch “\.(css)$”>
ExpiresDefault A691200
</FilesMatch><FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$”>
ExpiresDefault A691200
</FilesMatch><FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
ExpiresDefault A691200
</FilesMatch>
</IfModule><IfModule mod_headers.c>
<FilesMatch “\.(txt|xml|js)$”>
Header set Cache-Control “max-age=691200”
</FilesMatch><FilesMatch “\.(css)$”>
Header set Cache-Control “max-age=691200”
</FilesMatch><FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$”>
Header set Cache-Control “max-age=691200”
</FilesMatch><FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
Header set Cache-Control “max-age=691200”
</FilesMatch>
</IfModule>
# END WP-HUMMINGBIRD-CACHINGThe page I need help with: [log in to see the link]
- The topic ‘Leverage Browser Caching’ is closed to new replies.