473,379 Members | 1,184 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Caching Problem: ASP/IIS5

CJM
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 expert 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,

Chris

--
cj*******@REMOVEMEyahoo.co.uk
[remove the obvious bits]

Jul 22 '05 #1
0 1212

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Christopher Brandsdal | last post by:
Hi! I have a problem running my code on 2000 server and iis5.0. The code runs perfectly on my localhost (xp iis5.1) but when i run it on 2000 server iis5.0 I get this error: ...
2
by: CJM | last post by:
I have an application that I'm developing that generates a PDF from an HTML page. The quotation.htm page is generated manually, but will be automated in the finished version. It is processed in...
1
by: CJM | last post by:
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...
0
by: vanisathish | last post by:
Hi All, I am running IIS5.1. I am invoking an ASP page in ther server continously from the HTML Page, to update some contents of the html page. The ASP page seem to run from the cache...
8
by: TechNeck | last post by:
We have a website that reads data from Oracle and creates an XML file. Then the site uses that file to access the info faster. On IIS5 we have no problems, but on IIS6 we seem to have some caching...
5
by: Lis | last post by:
Hi, I have inconsistent behavior of document() function which I hope someone can explain. I have Windows Service (runs as LocalSystem) that perform some Xslt transformation. In the stylesheet...
3
by: nmsreddi | last post by:
hi, I am using IIS5.1 and .net1.1 ,it worksfine tillnow but ,when i installed .net2.0 beta on the same machine(with .net1.1&IIS5.1 existing) ,my IIS5.1 is not working correctly for VS2003 web...
4
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So......
1
by: gstar | last post by:
Hi, We run IIS5 with .NET V2 and asp pages. We have started to see 2GB traffic per day for only 400 users and when I have looked in the IIS logs it appears pages are not being cached all. This...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.