Solved

IIS caching

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

20 Experts available now in Live!

Get 1:1 Help Now