-
1. Re: Web Cache on JBoss
tugdualgrall Feb 21, 2012 9:41 AM (in response to menjivar88)Hello Carlos,
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
- Akamai
- 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)
Tug
-
2. Re: Web Cache on JBoss
menjivar88 Feb 21, 2012 11:34 PM (in response to tugdualgrall)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
Carlos
-
3. Re: Web Cache on JBoss
julien_viet Feb 22, 2012 6:01 AM (in response to menjivar88)1 of 1 people found this helpfulThe 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.
-
4. Re: Web Cache on JBoss
menjivar88 Feb 22, 2012 10:05 AM (in response to julien_viet)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!
Regards
Carlos