XSLT and client cache

Peter Hansen peter at engcorp.com
Sat Sep 25 00:58:38 EDT 2004

john wrote:
> But how can I determine whether the XSLT document is already present
> in client cache??

You cannot.  Have you read about how caches function?  The
best you can hope to do is to ask the client to reload
the document, either by marking it as non-cachable or by
indicating that it has changed since the last time the
browser tried to load it, using the last-changed header.

And even then, the browser is free not to reload it again
if it doesn't want.  Heck, a user can configure the browser
not even to *check* whether the file should be reloaded,
in some cases.

What are you trying to do that you think you need to
know whether a client cache contains a document?


More information about the Python-list mailing list