[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
RE: help cache?
This list is for announcements only!
Thanks
-----Original Message-----
From: Ben Kelley [mailto:ben_kelley@ubsw.com]
Sent: Tuesday, March 06, 2001 3:40 AM
To: gnujsp-ann@gjt.org
Subject: RE: help cache?
Importance: High
Hi.
Normally JSP pages will not return a modification or expiry time, so you are
pretty safe in terms of caching. You may find that some browsers still cache
them though.
You could add the following headers to try to ensure that this doesn't
happen.
The HTTP 1.1 way of saying not to cache something is:
response.setHeader("Cache-Control", "no-cache");
For HTTP 1.0, there is no specified way of telling a browser (or proxy) not
to cache something, although many browsers and proxies understand this:
response.setHeader("Pragma", "no-cache");
I would suggest doing both.
- Ben Kelley.
> -----Original Message-----
> From: Carolina Vasconcelo [mailto:carolina@tuxpan.cl]
> Sent: 05 March 2001 16:42
> To: gnujsp-ann@gjt.org
> Subject: help cache?
>
>
> please,
> ¿Como puedo hacer que en jsp, las paginas que visito no sean
> almacenadas en
> el cache.?.
>
> How can configure my jsp script in order to avoid the pages to be
> cached at
> the client side? (some like Response.Expire = 0 is ASP)
>
> Please.
>
> --
> Se despide, Carolina Vasconcelo.
>
>
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.