Remove 'Pragma: No-cache', 'Cache-Control: no-cache' from response
Glassfish is adding the 'Pragma: No-cache', 'Cache-Control: no-cache' to the response. Is there any configuration setting that I can set to stop Glassfish from doing it?
I have looked around and read about 'setCacheControl' but found no documentation/explanation for how to use it.
Also read about the context.xml but have not found examples on how to do this.
Could anyone give me an example on how to do this?