Hi, I used the YSlow Firefox add-on and it return the follow result:
Grade F on Add Expires headers
There are 8 static components without a far-future expiration date.
* (no expires) http://localhost:63808/WebSite/css/Global.css?...
* (no expires) http://localhost:63808/WebSite/css/BemVindo.css?...
* (no expires) http://localhost:63808/WebSite/js/Global.js?...
* (no expires) http://localhost:63808/WebSite/js/BemVindo.js?...
* (no expires) http://www.maplist.com.br/img/faixa_verde.png
* (no expires) http://www.maplist.com.br/img/logo_home.png
* (no expires) http://www.maplist.com.br/img/wait_bar.gif
* (2010/1/23) http://localhost:63808/WebSite/favicon.ico
I resolve the problem using a HttpHandler component:
www.codeproject.com/KB/aspnet/CssAndJavaScriptOptimizer.aspx
Is there a easier way to resolve the problem? Maybe in global.asax?
By the way, I'm using this metas in my page:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PUBLIC">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2010 11:12:01 GMT">