Title: Leverage Browser Cache
Last modified: August 24, 2016

---

# Leverage Browser Cache

 *  [lstoudenmire](https://wordpress.org/support/users/lstoudenmire/)
 * (@lstoudenmire)
 * [11 years ago](https://wordpress.org/support/topic/leverage-browser-cache-1/)
 * After installing the plugin, I’m still receiving the “Leverage Browser Cache”
   message from PageSpeed with a gif, PNG, and JPG files. The .htaccess file has
   the expires info generated by W3 Total Cache, but I dont see a reference to JPG’s
   only JPEG’s – “ExpiresByType image/jpeg A31536000” I’ve been racking my brain
   for 3 days trying to get rid of the Leverage Browser Cache message as well as
   searching for others with the same issue.
 * Browser caching is currently enabled.
 * Any suggestions? Thanks for your help.

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

 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [11 years ago](https://wordpress.org/support/topic/leverage-browser-cache-1/#post-6137275)
 * How about manually adding the code to your `.htaccess` file (after backing up
   first of course):
 *     ```
       # BEGIN Expire headers II
       <ifModule mod_expires.c>
           ExpiresActive On
           ExpiresByType image/jpg "access plus 31536000 seconds"
           ExpiresByType image/gif "access plus 31536000 seconds"
           ExpiresByType image/png "access plus 31536000 seconds"
       </ifModule>
       # END Expire headers II
       ```
   
 *  Thread Starter [lstoudenmire](https://wordpress.org/support/users/lstoudenmire/)
 * (@lstoudenmire)
 * [11 years ago](https://wordpress.org/support/topic/leverage-browser-cache-1/#post-6137277)
 * Thanks. Ive tried to add just the expires for the jpg, but having trouble getting
   the htaccess file to update, even after deleting and then uploading new file.
   Just wasn’t sure if there was a setting within the plugin that I’m overlooking
   that would include these specific file types.
 * I’ll continue to work with trying to manually edit the htaccess file
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [11 years ago](https://wordpress.org/support/topic/leverage-browser-cache-1/#post-6137278)
 * You might need to change the permissions temporarily on the `.htaccess` file 
   to allow you to save the changes.

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

The topic ‘Leverage Browser Cache’ is closed to new replies.

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

## Tags

 * [Leverage Browser Cache](https://wordpress.org/support/topic-tag/leverage-browser-cache/)

 * 3 replies
 * 2 participants
 * Last reply from: [barnez](https://wordpress.org/support/users/pidengmor/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/leverage-browser-cache-1/#post-6137278)
 * Status: not resolved