在IIS中禁用特定MIME类型的缓存
2007-12-18 09:52
330 查看
昨天完成甘特图V3.0的开发,在vs2005上测试好好的,拿到ISS中测试,触发一个事件后,图形还是老样子,必须刷新一下才看到最新的结果,郁闷... 今早发现其实文件夹中的图片已经更新,只是IE上未更新,问题得解--IIS的缓存问题。
看微软的文件:
MIME stands for "Multipurpose Internet Mail Extensions," which refers to a way of configuring browsers or mail clients to view files that are in multiple formats based on a "MIME type." "MIME mapping" is a process by which Internet Information Server (IIS) "maps" files by their extensions to a particular MIME type. For example, a file with the extension .htm has a MIME type of "text/html", whereas a file with the extension .gif has a MIME Type of "image/gif".
在IIS中禁用特定MIME类型的缓存:
1. 打开 Internet 服务管理器 (ISM)。
2. 找到您默认 Web 站点下 站点 文件夹。
3. 右击 站点 文件夹并选择 属性 。
4. 选择 HTTP 头 选项卡。
5. 单击 添加 自定义 HTTP 标题 部分中。
6. 添加名为标题 Cache-Control 其值为 no-cache。
7. 单击 应用, 确定。
看微软的文件:
MIME stands for "Multipurpose Internet Mail Extensions," which refers to a way of configuring browsers or mail clients to view files that are in multiple formats based on a "MIME type." "MIME mapping" is a process by which Internet Information Server (IIS) "maps" files by their extensions to a particular MIME type. For example, a file with the extension .htm has a MIME type of "text/html", whereas a file with the extension .gif has a MIME Type of "image/gif".
在IIS中禁用特定MIME类型的缓存:
1. 打开 Internet 服务管理器 (ISM)。
2. 找到您默认 Web 站点下 站点 文件夹。
3. 右击 站点 文件夹并选择 属性 。
4. 选择 HTTP 头 选项卡。
5. 单击 添加 自定义 HTTP 标题 部分中。
6. 添加名为标题 Cache-Control 其值为 no-cache。
7. 单击 应用, 确定。
相关文章推荐
- 在IIS中禁用特定MIME类型的缓存
- 在IIS中禁用特定MIME类型的缓存
- IIS添加MIME扩展类型及常用的MIME类型列表
- IIS中的MIME类型
- IIS MIME类型大全
- [转]使用C++为IIS的虚拟目录增加MIME类型
- IIS允许下载APK安装包(MIME类型配置)
- IIS中的MIME类型设置
- B\S备忘录14——IIS添加MIME类型
- IIS添加mime类型
- IIS——MIME介绍与添加MIME类型
- WIN2003中使用IIS配置手机下载类WAP网站的MIME类型介绍
- Android、IOS软件内置更新提示时,服务器端设置IIS的MIME类型用来支持apk和.ipa的文件下载
- IIS如何增加处理不同的文件扩展名(MIME类型)?
- 维护 MIME 类型 (IIS 7)
- IIS中的 MIME类型
- IIS中MIME类型映射汇总
- IIS文件上传、下载MIME类型设置和文件大小设置
- Win2003 手机站IIS MIME类型设置大全
- IIS 6.0 不能处理未知的 MIME 类型