tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <j...@kilbride.com>
Subject Re: Caching Servlet Output in Browser
Date Tue, 10 Apr 2001 23:00:10 GMT
You can also investigate the getLastModified() method of HttpServlet. May or
may not work for what you are trying to do.

--jeff

----- Original Message -----
From: "Craig Pfeifer" <CEPfeifer@aethersystems.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, April 10, 2001 6:28 AM
Subject: RE: Caching Servlet Output in Browser


> Caching behavior is browser dependant. There are HTTP headers that can be
> used to express caching preferences, but it's up to the browser/proxy to
act
> on them.
>
> In HTTP 1.0, this was done w/the "Pragma" header, but in HTTP 1.1 it uses
> the "Cache-Control" header (makes sense, no?). Check out the HTTP 1.1
> cache-control header specs:
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
>
> Craig Pfeifer
> Software Engineer
> Aether Systems, Software Products Division
> 703.847.3303 x2053
> cepfeifer@aethersystems.com
>
>
>
>
> > -----Original Message-----
> > From: Mathias Held [mailto:Mathias.Held@alcatel.de]
> > Sent: Monday, April 09, 2001 5:33 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Caching Servlet Output in Browser
> >
> >
> > Hi toms,
> >
> > how can I tell the browsers out there
> > that he should not forget the output made by a (my) servlets ?
> >
> > Even 'View Page Source' doesn 't show me anything.
> > Back always repost the FORM method.
> >
> > ciao
> >     Mathias
> >
> >
> > --
> > Langfristig sind wir alle tot.
> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > ^                                                                v
> > ^  Mathias Held - Alcatel SEL AG Berlin - Department KB/EF3      v
> > ^  ========================================================      v
> > ^  phoneto : 4954                                                v
> > ^  goto    : 11 / 2 / 074                                        v
> > ^  Emailto : Mathias.Held@alcatel.de                             v
> > ^  WWWto   : http://www.bln.sel.alcatel.de/~held/ (Alcanet only) v
> >
> > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> >
> >
>


Mime
View raw message