How to cache static content in webforms?


you can enable cache easily by web.config in
put this code inside web.config in the root folder of project. This works perfectly with IIS7.



<clientCache cacheControlMode=”UseMaxAge” cacheControlMaxAge=”365.00:00:00″ />

This will improve performance of your website and decrease loading time.


Leave a Reply

Your email address will not be published. Required fields are marked *