Solved

IIS caching

Posted on 2004-10-08
3
1,410 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add user group members to local Administrators 2 59
Domain Share problems 5 63
Windows 2003 SID Regeneration in ESXi 6.0 5 115
Drive mapping problem 7 42
Learn about cloud computing and its benefits for small business owners.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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