W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1997

Salvager resource and browser's cache

From: Anselm Baird_Smith <Anselm.Baird_Smith@sophia.inria.fr>
Date: Wed, 27 Aug 1997 11:19:05 +0200 (MET DST)
Message-Id: <199708270919.LAA00330@www43.inria.fr>
To: Frederic Crozat ISIMA <crozat@opgc16.univ-bpclermont.fr>
Cc: www-jigsaw@w3.org
Frederic Crozat ISIMA writes:
 > Hi,
 > I've encounter a little problem with the Salvager resource and some browsers
 > (IE and Netscape) when I try to see the status of the Salvager resource 
 > (http://host/Admin/Salvager). Often, when I try to refresh the page, my
 > browser keeps showing the old one and doesn't connect to Jigsaw. It uses its
 > own caching scheme (it is set to check pages only one time per session)
 > but it should check it if I reload it but it refuses. 
 > I've added the following "no caching" code (from tutorial) at the end of
 > the SalvagerResource source :
 > public Reply createDefaultReply(Request request, int status) {
 >         Reply reply = super.createDefaultReply(request, status);
 >         reply.setNoStore(true);
 >         // Be friendly to HTTP/1.0 caches too:
 >         reply.addPragma("no-cache");
 >         return reply;
 >     }
 > and the problem is gone !! 

That's indeed the real fix. However, you don't need to patch the code
(I think setting the relevant attribute through the configuration
should be enough).

 > I'm currently using Jigsaw alpha 5 and I think you should add this to
 > next beta version.
 > I've also seen in the httpd source that the default timeout values given
 > in the "api" file aren't those used in the code. For example, Keep_Alive
 > Timeout is supposed to be 10000 ms but in the code, it's 1200000 !!
 > Which values are correct ? 

The one in the code ;-)

Received on Wednesday, 27 August 1997 05:19:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:31 UTC