Is there a way to reinstall the caching of a single javascript file in my ASP.NET application without disabling caching of any other files in the application?
It runs on IIS 7 in Azure, so it seems to me that my only control options for this are in the web server tags.
I am currently using the folowwing configuration, but this disables the cache for all files.
<modules runAllManagedModulesForAllRequests="true"/>
<staticContent>
<clientCache cacheControlMode="DisableCache"/>
</staticContent>
</system.webServer>
I just want to disable the cache of a single javascript file, which changes quite often.
Is it possible?
source
share