I used the YSlow Firefox add-on and returned the following result:
Grade F on Addition of Expiration Headers
There are 8 static components with no expiration date.
* (no expires) http:
* (no expires) http:
* (no expires) http:
* (no expires) http:
* (no expires) http:
* (no expires) http:
* (no expires) http:
* (2010/1/23) http:
I solve the problem using the HttpHandler component:
www.codeproject.com/KB/aspnet/CssAndJavaScriptOptimizer.aspx
Is there an easier way to solve the problem? Maybe in global.asax?
By the way, I use this meta on my page:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PUBLIC">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2010 11:12:01 GMT">
source
share