A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Jersey api - How remove Cache-Control header in response from server
Joined: Nov 19, 2012
Nov 19, 2012 07:24:40
I'm trying to send a header without the Cache-Control attribute. Because Internet Explorer won't download my file with Cache-Control: no-cache, I wanted to remove that attribute but it seems nothing I set will remove it.
I've tried the following
cc = new
This is the link that indicates I don't want to send no-cache attribute. I don't want to send caching either so I was hoping to just remove the attribute period.
I use firebug to view the header sent from the server and each time it shows the Cache-Control: no-cache attribute no matter what settings I use in jersey.
I am using Jersey 1.5.
Thanks in advance.
It is sorta covered in the
JavaRanch Style Guide
subject: Jersey api - How remove Cache-Control header in response from server
how to remove history from jsp pages
How to remove browser cache after updating Jsp page on server
Set Reponse Headers Problem
Question on caching of page
Cacheing problem in JSP's
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014