Log in

View Full Version : Grade F on Add Expires headers


deluxmall
03-25-2011, 09:12 AM
I check YSLOW and it indicate that I have the following, how can I add a far future expiration date for the following?

There are 7 static components without a far-future expiration date.

* (2011/3/25) http://www.google-analytics.com/ga.js
* (2011/3/24) http://xxx.com/clientscript/vbulletin_global.js?...
* (2011/3/24) http://xxx.com/clientscript/vbulletin_menu.js?...
* (2011/3/24) http://xxx.com/clientscript/ncode_imageresizer.js?...
* (2011/3/24) http://xxx.com/clientscript/advanced_forums.js
* (2011/3/25) http://pagead2.googlesyndication.com/pagead/show_ads.js
* (2011/3/24) http://xxx.com/clientscript/vbulletin_read_marker.js?...

kh99
03-25-2011, 12:23 PM
I think it has to be added by configuring your web server. I don't know very much about that subject, but here's a site I found where someone asked a similar question: http://stackoverflow.com/questions/1343784/trying-to-implement-far-future-expiration-date-for-static-files-in-django