IIS 7.5 cache

Associate
Joined
18 Oct 2002
Posts
886
Location
UK
Im having issues with IIS not updating pages when I save a new version, ive tried going through the options and disabling any reference to buffering or caching but it still seems to be doing it.

It's definately not the browser doing the caching since I can open a page with a different pc which hasnt viewed it yet and the old version will still appear. The only way around it so far is to restart IIS everytime a small change is made.

It's ASP files im trying to alter if that makes any difference.
 
Do you have a web.config, sometimes we have to alter that (you can add a useless key which you can just alternate arbitrarily) for it to recognise certain changes.

Otherwise, our normal pages usually update if a change is made. This is in IIS6, but it may save you from restarting IIS if not a perfect solution.
 
I have a web config which contains:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <caching enabled="false" enableKernelCache="false">
            <profiles>
                <add extension=".asp" policy="DontCache" kernelCachePolicy="DontCache" />
            </profiles>
        </caching>
    </system.webServer>
</configuration>

ive tried it with and without the add extension part but it doesnt seem to make any difference
 
Back
Top Bottom