badstraw360
Member
Hey guys I have a few attachments displayed on the front page that usually won't change.
I would like to add expire headers to improve the overall speed of my board.
If I test my site via gtmetrix I get this:
There are 4 static components without a far-future expiration date.
I would appreciate any input.
I would like to add expire headers to improve the overall speed of my board.
If I test my site via gtmetrix I get this:
There are 4 static components without a far-future expiration date.
- http://fonts.googleapis.com/css?fam...0,300,300italic&subset=latin,greek,vietnamese
- http://www.site.com/attachments/index-jpg.49468/
- http://www.site.com/attachments/tank_dali-jpg.44970/
- https://www.google-analytics.com/analytics.js
Code:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 3456000 seconds"
ExpiresByType image/jpeg "access plus 3456000 seconds"
ExpiresByType image/png "access plus 3456000 seconds"
ExpiresByType text/css "access plus 3456000 seconds"
ExpiresByType text/javascript "access plus 3456000 seconds"
ExpiresByType application/javascript "access plus 3456000 seconds"
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</IfModule>
I would appreciate any input.