File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
Problem with browser caching
multiple get requests - one thread serving them all?
how to clear the cache in JSF?
Setting response page expire time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015