As far as I know, JBoss does not have a Web Cache technology, but you should be able to use
- Apache mod_cache to achieve HTML/Resources caching. (I have not used it personnaly)
- Varnish ( https://www.varnish-cache.org/ ) we have used it as a front end of some EPP Site Publisher / eXo sites
- or any other techno
As you said this is different from JBoss Cache that is a Java Cache.
Also you probably know that you can also cache your portlet using standard Portlet API caching feature. (this is once again cache on the middleware)
Hello Tug, thanks for the reply, this information will be very useful for me, one more question, this Portlet API caching is new for me any good source of information to learn more about this API ??
Thanks and regards
1 of 1 people found this helpful
The specification mentions how caching can be done.
The goal of this cache is to cache the content for a single user (it's not shared by default) to avoid to recompute a portlet fragment on each rendering.
It's a good way to increase performance easily by just turning the caching on in portlet.xml file using the "expiration-cache" tag in a portlet where you specify the validity of the markup in seconds.
This cache is invalidated as soon as an interaction is done with the portlet.
Hi, thanks for your help Julien, as you explain the procedure to increase performance seems very useful and easy to configurate and i will have my portlets's performance increased, just turning on the caching in the portlet.xml and thats it.
I will try this, thanks for the advice!