A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Doubts in adding headers to response
Joined: Nov 07, 2007
Mar 25, 2008 04:38:00
What is the purpose of the following things added to the response?
response.setDateHeader("Expires", -1); response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate"); response.setHeader("Pragma", "no-cache");
Joined: Dec 11, 2004
Mar 25, 2008 04:39:00
These headers suggest that the browser not cache this page.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Doubts in adding headers to response
how to clear the cache in JSF?
Setting response page expire time
Problem with browser caching
multiple get requests - one thread serving them all?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014