Static files caching configure through Web.Config
Through web.config you can request proxy caching for the static files. Best policy to keep the files until gets changed. This increases the performance not to download every time.
<system.webServer>
<caching enabled="true" enableKernelCache="true">
<profiles>
<add extension=".html" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange"/>
<add extension=".css" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange"/>
<add extension=".js" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange"/>
</profiles>
</caching>
Written by Janarthanan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Caching
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#