1

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?

1 Answer 1

3

Per OmniFaces <o:cache> showcase page,

The component allows to cache a fragment of rendered markup.

So, I assume the answer to this question is 'no'.

1
  • That's correct. The <o:cache> serves an entirely different purpose.
    – BalusC
    Commented Nov 1, 2012 at 1:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.