How do I turn off caching in IIS7?

Click on the server name then go to output caching.

Click Add Cache Rule then type the extensions - .aspx, .aspx.vb, .aspx.cs, .js etc. (not sure if you can do all on one)

Then simply either tick the prevent all caching or untick user-mode caching and it should stop IIS from keeping a cache of the pages.

Next time you do a full refresh, it should get the files from the hard drive and not the cache/memory




I do not currently have a machine with IIS7 on that I can muck around with so I Googled and found the picture below:

alt text