0

spring-security cache-control headers missing Experiencing same problem as mentioned in above post. Can anyone help with it?

I recently upgraded my application from spring 3.1.2.RELEASE to 4.2.6.RELEASE and spring-security 3.1.0.RELEASE to 4.1.0.RELEASE

But when testing the upgraded application on the application server it seems that the http cache-control response headers are gone.

Before the upgrade these cache headers were found for both html en json requests:

Cache-Control: no-cache Cache-Control: no-store Pragma: no-cache

After the upgrade

only this header exist for html requests:

Cache-Control: no-store and no headers for the json requests

Community
  • 1
  • 1
  • Possible duplicate of [Get UserDetails object from Security Context in Spring MVC controller](http://stackoverflow.com/questions/6161985/get-userdetails-object-from-security-context-in-spring-mvc-controller) – Melanie Palen Apr 04 '17 at 05:31
  • upgraded my application from spring 3.1.2.RELEASE to 4.2.6.RELEASE and spring-security 3.1.0.RELEASE to 4.1.0.RELEASE But when testing the upgraded application on the application server it seems that the http cache-control response headers are gone. – user7812088 Apr 04 '17 at 05:34

0 Answers0