Expires Headers .htaccess
Permalink
Using Yslow I get a grade F on Add EXpires Headers, So I added the following code to .htaccess.
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Wed, 15 Apr 2020 20:00:00 GMT"
</FilesMatch>
What can i do to resolve this?
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Wed, 15 Apr 2020 20:00:00 GMT"
</FilesMatch>
What can i do to resolve this?
Yes that has helped, and incresed my yslow score slightly, although from Yslow I am still getting.
& also
Any ideas on how to improve?
Grade F on Add Expires headers There are 6 static components without a far-future expiration date. * (1981/11/19) http://www.mastercoachingcentre.co.uk/index.php/tools/css/themes/luminosity/typography.css * (1981/11/19) http://www.mastercoachingcentre.co.uk/index.php/tools/css/themes/luminosity/main.css * (no expires) http://www.mastercoachingcentre.co.uk/updates/051110/concrete/css/ccm.base.css?... * (2010/9/3) http://www.google-analytics.com/ga.js * (no expires) http://www.mastercoachingcentre.co.uk/updates/051110/concrete/js/jquery.js?... * (no expires) http://www.mastercoachingcentre.co.uk/updates/051110/concrete/js/ccm.base.js?...
& also
Grade D on Configure entity tags (ETags) There are 3 components with misconfigured ETags * http://www.mastercoachingcentre.co.uk/updates/051110/concrete/css/ccm.base.css?... * http://www.mastercoachingcentre.co.uk/updates/051110/concrete/js/jquery.js?... * http://www.mastercoachingcentre.co.uk/updates/051110/concrete/js/ccm.base.js?...
Any ideas on how to improve?
well, the FileETag none should fix the et tags, you can't do anything about the ga.js as its google's
also under the mod expires try adding
also under the mod expires try adding
ExpiresByType text/javascript "access plus 2 month" ExpiresByType text/css "access plus 2 month"
Yep, that added nicely to it. Just the job. Thankyou.
mainly the expiresactive