A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Setting response page expire time
Problem with browser caching
how to clear the cache in JSF?
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-2013