Solved

IIS caching

Posted on 2004-10-08
3
1,406 Views
Last Modified: 2008-04-02
I want to disable all caching on our win 2003 development box. It has a fresh install of windows 2003 standard edition and fresh install of IIS 6.
Please, can you be as specific as possible.
Thanks.
0
Comment
Question by:glowas
3 Comments
 
LVL 30

Assisted Solution

by:VirusMinus
VirusMinus earned 100 total points
ID: 12261582
go to the Site Properties > HTTP Headers, Check the "Enable Content Expiration", restart IIS if necessary
0
 

Author Comment

by:glowas
ID: 12261606
will that take care of everything?
I mean swf files, aspx compiled files, asp files, pictures........
0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 150 total points
ID: 12262779
You will need to edit your registry:

DisableMemoryCache
Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters
Data Type:REG_DWORD
Default value: 0 (disabled)
Range: 0 - 1
DisableMemoryCache disables server caching. Make sure that this parameter is set to 0 on all production servers. If this parameter is set to 1, static file caching is disabled. While this may be useful during debugging, disabling the cache can severely compromise production server performance. This parameter cannot be configured using IIS Manager

(This is straight out of the IIS Help files.)

This will disable all IIS caching.  As far as ASPX compiled files, I'm not sure there is a way to disable .Net Framework caching - this would involve fundamentally changing the behavior of the Global Assembly cache.  

Dave Dietz
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question