@ tools.pingdom.com我得到了充分利用缓存控制一个警告,因为这些资源:将缓存控制设置为外部资源?
http://code.jquery.com/jquery-1.6.2.min.js
http://www.google-analytics.com/ga.js
http://edge.sharethis.com/images/spinner.gif
http://w.sharethis.com/button/buttons.js
未在我的主机。
我该怎么办?
这是我的htaccess的开头:
# 480 weeks
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>
# 1 weeks
<FilesMatch "\.(js)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
jQuery的美好,因为我知道的版本。但分析和共享呢,如果他们更新他们的版本呢? – 2012-03-06 15:46:50