April 12th, 2011
3:42 pm
Posted under JSF
Permalink
Tags JSF, Primefaces, Tip
There are 2 competing issues here – you want to cache for example javascript and css files on the client for speed, but you want to flush the cache and update them when you release new software versions.
An interesting discussion on this, detailing the use of the web.xml parameter javax.faces.PROJECT_STAGE and its control of caching, may be found on the Primefaces forum here.
There are some more links on this and discussion on my issue raised for this on Mantis here.
Leave a Reply
You must be logged in to post a comment.