The question below,
Primefaces, JQuery script and CSS files loading for each and every page refresh and ajax page update. How to get files from cache instead of downloading for each request.
was asked at the following:
Primefaces script and css file loading for each page refresh
I recommended OmniFaces o:cache component. Can o:cache be used in this case, or is it still best to use servlet filter?