Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IIS caching

Posted on 2004-10-08
3
Medium Priority
?
1,427 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 400 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 600 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

Technology Partners: 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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

604 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