IIS7 UNC File caching issue

本文探讨了在SMB环境下进行文件监控及属性检查的两种方式:一种是利用dir-monitoring和文件更改通知,但这会消耗SMB资源;另一种是定期检查文件属性,这可能导致一段时间内提供陈旧的内容。若能编写原生模块,则可通过IHttpServer::NotifyFileChange来通知文件缓存更新。

You have to either choose dir-monitoring and file-change-notification with its drawback of using SMB resources or periodic file attribute check with its drawback of serving stale content for a period of time.

If you can write a native module, you can use IHttpServer::NotifyFileChange to notify the file-cache of the file changing when you manually change it.

 

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/49fb1790-3a4b-41e3-85a0-3fcfd76b8cb6.mspx?mfr=true

http://blogs.iis.net/ksingla/archive/2007/12/30/list-of-registry-keys-affecting-iis7-behavior.aspx

 

转载于:https://www.cnblogs.com/baozhu/p/7991955.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值