RE: Cache Problem

2001-02-13 Thread Matt Krevs

Aaah caching. My favourite subject

Have a look at the following link. It explains caching pretty well
http://www.mnot.net/cache_docs/

Apparently the Pragma no-cache meta tag isnt the one you should use since it
isnt part of the standard and has inconsistent support.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, 14 February 2001 9:37 AM
To: Orion-Interest
Subject: Cache Problem


Hi,
I have deployed a site, which seems to work great with netscape, but
not with ms ie. Whenever I update the DB, the new recordsets are
reflected immediately and displayed accrodingly with netscape.
But with Internet Explorer, it does not show any current DB contents
but show some old cached data in the browser. And sometimes IE messes
up with my real DB contents if I click the IE browser's reload button.
I put 'meta http-equiv="Pragma" content="No-Cache"' clause in the
html page, but it does not help.
That clause works for netscape only, doesn't it?
Could anyone help please?
Thank you so much!!!



Simon,







RE: Cache Problem

2001-02-13 Thread Chandika Mendis

You can try some of the many cache-control headers - use HTTP 1.0 compatible
'Expires' header with a negative value(-1440 for example). This usually
works. The neat thing to do is to actually make use of the browser (or even
more effectively, the reverse proxy) cache by intelligent use of cache
headers. (I'm making some components that I'll be happy to share with anyone
interested). You can significantly reduce the workload on the server by
making use of this mechanism. When you consider the licensing fees of the DB
and application servers this makes sense in a lot of situations without
compromising the recentness or security of the content.

Cheers,

Chandika

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 3:37 PM
To: Orion-Interest
Subject: Cache Problem


Hi,
I have deployed a site, which seems to work great with netscape, but
not with ms ie. Whenever I update the DB, the new recordsets are
reflected immediately and displayed accrodingly with netscape.
But with Internet Explorer, it does not show any current DB contents
but show some old cached data in the browser. And sometimes IE messes
up with my real DB contents if I click the IE browser's reload button.
I put 'meta http-equiv="Pragma" content="No-Cache"' clause in the
html page, but it does not help.
That clause works for netscape only, doesn't it?
Could anyone help please?
Thank you so much!!!



Simon,