PF 3.5(4.0), Omnifaces 1.6.3, Mojara 2.1.21
Is it possible to control http headers which will be sent inside of JSF xhtml page ? I mean something like:
.xhtml:
<html xmlns:http="a cool name space">
<h:head>
<http:headers header="Cache-Control" value="no-cache, no-store, must-revalidate" />
</h:head>
<h:body> .... </h:body>
</html>
You mean not to instruct the browser for caching it? Just use a filter and add what you want to your response header:
See also: