Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Caching problem (ASP/IIS5)

Thread Tools

Caching problem (ASP/IIS5)

Posts: n/a
I'm working on an ASP application on my XP m/c.

I've uploaded a copy of the ASP code and accompanying DB onto another server
that is running both IIS5 & SQL Server. This is so that the development can
be demonstrated to key users at particular points.

However, when I access the application [on the server] from my machine, I'm
getting to odd caching behaviour that I dont understand. All the pages are
being cached and I need to refresh each page to get the accurate results.

The server is configured such all content should expire immediately, and
each ASP page has Response.Expires = 0 at the beginning, so AFAIK these
pages shouldn't be cached!

However, I'm using Fiddler to look at the headers:

In the request headers it shows Pragma:no-cache;

In the response headers is shows:
- Date: Wed, 02 Feb 2005 10:34:40 GMT
- Expires: Wed, 01 Jan 1997 12:00:00 GMT
- Cache-Control: private, max-age=86400

When I first call a page, Fiddler confirms that the CSS file and images are
being downloaded, but the ASP is not. When I click on refresh, all the page
components including the ASP file are downloaded.

I'm not an epert on this area, so I'm struggling to figure out why & where
the caching occurs. The problem only appears to be when I use this server. I
have had problems with this in the past with a different application which
was temporarily hosted there...

Any ideas?

Thanks in advance,


-- Removed)
[remove the obvious bits]

Reply With Quote
Posts: n/a
Meant to cross-post this to the IIS NG.

I've reposted to both groups so ignore this thread.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad ASP .Net 3 01-21-2010 10:13 AM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
trouble with caching or caching the trouble Hypo ASP .Net 6 08-01-2003 07:11 AM
Page Caching Problem Paul M. Frazier, Ph.D. ASP .Net 1 07-28-2003 08:55 PM
Re: ASP.Net, IE 5 & 5.01, Caching Problem Joe Reazor ASP .Net 2 07-21-2003 05:36 AM