Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Cache's versus Server Side Includes

Status
Not open for further replies.

Tama

MIS
Jun 6, 2001
121
NZ
Hello - I run a website ( which uses quite a lot of server side includes. For example my home page ( has the main body as a server side include ( so I can 'live-edit' news & updates using Frontpage 2000 & Frontpage components.

I've been running into a frustrating problem - where I edit and then try and view my work.

What seems to happen is the Web cache (at my work or ISP) checks - decides it hasn't changed (it will have the same date stamp and same file size) and load the cached version of index.htm which still has the old version of news.htm imbedded in it.

Even using Ctrl-F5 on IE doesn't seem to work as far as retrieving a "fresh copy" of my index.htm - with the latest news.htm included.

Any ideas?
 
Cheerz DeZiner - I must of posted my last reply about 5 seconds after your fix.
For those of you who are interested

From my understanding pragma is from HTTP1 and "cache-control" is from HTTP1.1 - is that correct. is served from a Cobalt RAQ (some flavour of Apache I guess)and seems fine with the "cache-control" angle

Does "cache-control" (or "pragma") also prevent the caching of images - or is it just the HTML code?

Has even more info on preventing caching with MS products.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top