Search code examples
jsptomcatno-cache

Tomcat config for no-cache media


I basically need a solution for Tomcat with the same information as this question I posted.

Thanks.


Solution

  • You can write a filter or a server-side valve which adds these headers or even wraps the response and adds these headers in any case.