iis 7.5 http响应头不工作
我有一些静态内容,jpg,png,在一个特定的文件夹中 我想将HTTP头设置为30天后过期 使用IIS 7.5>>http响应头>>设置公共头>>过期web内容 我添加了我的值,但是我仍然得到静态内容的HTTP头作为iis 7.5 http响应头不工作,iis,iis-7,iis-7.5,Iis,Iis 7,Iis 7.5,我有一些静态内容,jpg,png,在一个特定的文件夹中 我想将HTTP头设置为30天后过期 使用IIS 7.5>>http响应头>>设置公共头>>过期web内容 我添加了我的值,但是我仍然得到静态内容的HTTP头作为(未指定过期时间) 我已经尝试在IIS中刷新我的站点,但它没有解决我的问题 有什么想法吗 使用应用程序池->ManagedpipelineMode:*Classic尝试一下** Give this a try with application pool -> Managedpi
(未指定过期时间)
我已经尝试在IIS中刷新我的站点,但它没有解决我的问题
有什么想法吗 使用应用程序池->ManagedpipelineMode:*Classic尝试一下**
Give this a try with application pool -> ManagedpipelineMode : **Classic**
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" cacheControlCustom="public"/>
</staticContent>
</system.webServer>
您还可以检查如何在ui中配置它
可能存在的副本