Solved

IIS caching

Posted on 2004-10-08
3
1,403 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace 2003 domain controller with 2012 3 65
Domain Share problems 5 48
Auto-Enrollment Group Policy 2 43
ADMT Intra Forest migration questions 7 127
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now