Apache2 如何将Expires添加到Flash和图标组件
Yslow目前对我的网站和“添加过期标题”的评分均为B级 它说: 有1个静态组件没有很长的过期日期Apache2 如何将Expires添加到Flash和图标组件,apache2,yslow,mod-expires,Apache2,Yslow,Mod Expires,Yslow目前对我的网站和“添加过期标题”的评分均为B级 它说: 有1个静态组件没有很长的过期日期 * (no expires) http://localhost/images/favicon.ico my apache.conf中当前的Expires代码如下所示: ExpiresActive On # enable expirations # expire after a week in the client's cache ExpiresByType image/
* (no expires) http://localhost/images/favicon.ico
my apache.conf中当前的Expires代码如下所示:
ExpiresActive On # enable expirations
# expire after a week in the client's cache
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpg A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/css A604800
ExpiresByType application/javascript A604800
那么flash和图标组件的语法应该是什么呢
尽管Yslow没有为flash显示,但我想为flash组件添加Expires
有人能帮我完成这项任务吗?Firebug open快速访问homestarrunner.com,内容类型是flash的
应用程序/x-shockwave-flash
,favicon的图像/x-icon
。这解决了你的问题吗?如果没有,请检查