Hello,
Is there a best way to set http headers with JSF ?
Currently i need set different Last-Modified values for different JSF
pages. It generally based on data fetched from storage by backing beans.
Is it ok to set such headers in getter methods of bean ? I currently
don't like this approach being fan of SRP(Single Responsibility
Principle), i.e. getter must return data, but not set headers.
And one more question, does anoyone set "Cache" headers manually or
just stick with defauts ?
Thank you.