Howard
Howard

Reputation: 792

Is OmniFaces cache component good for resource caching?

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?

Upvotes: 1

Views: 551

Answers (1)

Howard
Howard

Reputation: 792

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'.

Upvotes: 3

Related Questions