Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Caching custom objects in Liferay.
Hi All.
As we know that Liferay uses ehcache to store objects/data in cache. Is there any sample program that shows how to store custom objects in ehcache?
Thanks,
Amit Sharma
As we know that Liferay uses ehcache to store objects/data in cache. Is there any sample program that shows how to store custom objects in ehcache?
Thanks,
Amit Sharma
Any entity that you create using Service Builder is automatically cacheable unless you disable it on a per-entity basis.
Is this what you're looking to cache, or was there something else?
Is this what you're looking to cache, or was there something else?
I am looking for caching some other objects not database entities...