How to set Cache Control Headers with httpd?
Issue
- We would like to set the "Cache-Control" header to "no-cache, no-store" and set the "Expires" header to "0" at webserver level. Please let us know how this can be achieved.
Environment
- Red Hat JBoss Core Services (JBCS) httpd
- 2.4.29
- 2.4.37
- 2.4.51
- Red Hat Enterprise Linux (RHEL) httpd
- 7.x
- 8.x
- 9.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.