web.config cache settings not working
问题 I want to enable cache for static contents of my website. I found this method using IIS cache control option which I guess it works serverside: <caching> <profiles> <add extension=".js" policy="CacheUntilChange" kernelCachePolicy="DontCache" /> <add extension=".css" policy="CacheUntilChange" kernelCachePolicy="DontCache" /> </profiles> </caching> Also I found this solution for client side cache of static contents: <staticContent> <clientCache cacheControlMaxAge="7.00:00:00" cacheControlMode=