Leverage browser caching not working

Melody Scott
Melody Scott used Ask the Experts™
Hi,  truenasreseller dot com is the site, it's running the latest wordpress. I've got the leverage browser caching plugin installed, and htaccess shows it's there, see attached. But gtmetrix.com shows that browser caching is not enabled, they are still giving an F and a 0 rating. Why would that be so?

I'm hosted on Bluehost, with whom I'm very unhappy, but for the time being I want to get this grade up so that I can show them the issue is on their end. Thanks!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Because if you look at the details, your Wordpress install has set the expirations to 6 hours.  And you have no control over anything that comes from other site.  The expiration times for the various Google sources are all different and not under your control.


So on the htaccess, I could remove this section?

<IfModule mod_expires.c>
      ExpiresActive On
      ExpiresByType image/jpg "access plus 6 hours"
      ExpiresByType image/jpeg "access plus 6 hours"
      ExpiresByType image/gif "access plus 6 hours"
      ExpiresByType image/png "access plus 6 hours"
      ExpiresByType text/css "access plus 6 hours"
      ExpiresByType application/pdf "access plus 1 week"
      ExpiresByType text/javascript "access plus 6 hours"
      ExpiresByType text/html "access plus 10 minutes"
      ExpiresByType image/x-icon "access plus 1 year"
      ExpiresDefault "access plus 3 hours"
Fixer of Problems
Most Valuable Expert 2014
You could but it doesn't gain you anything.  GTmetrix will still see the Google links and say you aren't doing it right.  I suggest you ignore that.  You've done everything you can already.


Ok, thanks, Dave.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial