環境:IIS 7,.NET 4.0覆蓋web.config的設置
在我們的應用程序的web.config文件,它有這個節:
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="cache-control" value="no-cache" />
</customHeaders>
</httpProtocol>
</system.webServer>
我們的大多數應用程序的需要無緩存,但只有一個頁面需要緩存控制爲私有。是否有辦法做到這一點?
讚賞任何輸入