Title: Leverage browser caching solution?
Last modified: August 22, 2016

---

# Leverage browser caching solution?

 *  [Mackiwu](https://wordpress.org/support/users/mackiwu/)
 * (@mackiwu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/leverage-browser-caching-solution/)
 * Hi there,
 * i wanted to enable the Browser Caching while using the WP Super Cache Plugin 
   and i found a piece of code which can be added to the .htaccess file.
 *     ```
       ## EXPIRES CACHING ##
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresByType image/jpg "access 1 year"
       ExpiresByType image/jpeg "access 1 year"
       ExpiresByType image/gif "access 1 year"
       ExpiresByType image/png "access 1 year"
       ExpiresByType text/css "access 1 month"
       ExpiresByType application/pdf "access 1 month"
       ExpiresByType text/x-javascript "access 1 month"
       ExpiresByType application/x-shockwave-flash "access 1 month"
       ExpiresByType image/x-icon "access 1 year"
       ExpiresDefault "access 2 days"
       </IfModule>
       ## EXPIRES CACHING ##
       ```
   
 * Can i use that in addition with WP Super Cache for make my site faster?
 * regards,
 * Max
 * [https://wordpress.org/plugins/wp-super-cache/](https://wordpress.org/plugins/wp-super-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Mackiwu](https://wordpress.org/support/users/mackiwu/)
 * (@mackiwu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/leverage-browser-caching-solution/#post-5802900)
 * I tried it and the result was amazing. From Googles Page Speed test i receive
   now 89/100 Points. Before it was at 76/100. So that Code definitly works fine.
   The only thing is to change “ExpiresDefault “access 2 days” to “access 1 month”.
 *     ```
       ## EXPIRES CACHING ##
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresByType image/jpg "access 1 year"
       ExpiresByType image/jpeg "access 1 year"
       ExpiresByType image/gif "access 1 year"
       ExpiresByType image/png "access 1 year"
       ExpiresByType text/css "access 1 month"
       ExpiresByType application/pdf "access 1 month"
       ExpiresByType text/x-javascript "access 1 month"
       ExpiresByType application/x-shockwave-flash "access 1 month"
       ExpiresByType image/x-icon "access 1 year"
       ExpiresDefault "access 1 month"
       </IfModule>
       ## EXPIRES CACHING ##
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Leverage browser caching solution?’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Mackiwu](https://wordpress.org/support/users/mackiwu/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/leverage-browser-caching-solution/#post-5802900)
 * Status: not resolved