Project Cacheonix announced a cache provider for PrimeFaces. Cache provider for PrimeFaces allows developers to improve performance of their web applications by serving the repeatedly generated content from a fast in-memory cache. PrimeFaces cache provider is available as a part of Cacheonix 2.3 release.
Cacheonix is an Open Source Java cache that helps developers build scalable applications by eliminating scalability bottlenecks.
Notable enhancements to Cacheonix 2.3 include:
- Cache provider for PrimeFaces.
- Code quality improvements.
Caching a segment of your PrimeFaces code is as easy as wrapping the PrimeFaces code in the <cache> tag:
<h:form> <p:cache region="primefaces" key="toolbar"> <p:toolbar> <p:toolbarGroup align="left"> <p:commandButton type="button" value="Save"/> <p:commandButton type="button" value="Cancel"/> </p:toolbarGroup> </p:toolbar> </p:cache> </h:form>
A complete list of features of the cache provider for PrimeFaces is available on Cacheonix wiki:
- Learn how to add Cacheonix to a Maven project
- Read more about Cacheonix
- Check out Cacheonix source code on GitHub
Cacheonix is an Open Source Java cache that helps developers scale their applications horizontally by serving frequently used application data from a highly concurrent local cache or a strictly consistent distributed cache. You can reach Cacheonix by sending an email to email@example.com or by visiting http://www.cacheonix.org.
PrimeFaces is a UI framework for Java EE. Components in PrimeFaces are developed with a design principle which states that "A good UI component should hide complexity but keep the flexibility". PrimeFaces community continuously helps the development of PrimeFaces by providing feedback, new ideas, bug reports and patches. You can reach PrimeFaces by visiting http://www.primefaces.org.