Caching with EhCache in AEM | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
milind_bachani
milind_bachaniAccepted solution
Employee
Jun 27, 2022 11:58 AM UTC

Hi @ediši ,

 

EH cache is purely server side caching and you can simply use the java EH cache implementation to get it working in AEM by creating a service for it :

References you can use :

  1. https://www.baeldung.com/ehcache
  2. https://github.com/ehcache
  3. https://mkyong.com/ehcache/ehcache-hello-world-example/

Hope this helps, thanks.

3 replies

arunpatidar
New Participant
Jun 27, 2022 3:16 PM UTC

Hi,

You can probably explore ACS commons HTTP memory cache

https://adobe-consulting-services.github.io/acs-aem-commons/features/http-cache/index.html 

 

This will provide you all the interface to check, rebuild and clear the cache.

Translate
Arun Patidar
milind_bachani
milind_bachaniAccepted solution
Employee
Jun 27, 2022 11:58 AM UTC

Hi @ediši ,

 

EH cache is purely server side caching and you can simply use the java EH cache implementation to get it working in AEM by creating a service for it :

References you can use :

  1. https://www.baeldung.com/ehcache
  2. https://github.com/ehcache
  3. https://mkyong.com/ehcache/ehcache-hello-world-example/

Hope this helps, thanks.

Translate
New Participant
Feb 3, 2023 1:28 PM UTC

@milind_bachani 

For AEM cloud service Ehcache is not working. Can you help with any documentation or any solution it fix it on AEM cloud service.

Translate