Enabling Cache on Your Windows Hosting Account using clientCache

With our Windows hosting accounts, you can create caching rules to enhance your website's speed by using clientCache in your Web.config file. 

Microsoft has instructions on implementing clientCache here, as well as more detailed information about the element here


Microsoft uses the following example code in a Web.config to enable caching: 




         <clientCache cacheControlMode="UseExpires"

            httpExpires="Tue, 19 Jan 2028 03:14:07 GMT" />




This will cache the content you define as static until Jan. 19, 2028.
Was this answer helpful? 0 Users Found This Useful (0 Votes)