I am developing an application using JSF2.0/Primefaces 4.0 and JBoss 7.
The problem is that every time i make a new deployment (using .war), all of the users have to clean their browser cache to see the changes(mainly with images positioning).
I know that browsers save the content of the page to make it run faster, but i also know that there is a way to control the HTTP param cache-control
to make it re-validate the page.
And the question is: How to make the client browser recognize that there is a new deployment and clean the stored cache? Of course, using JBoss 7.
Also, i don't want to re-validate the cache in every access, only when there is a new deployment.
Is that possible?