Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Style System Cache

Avatar

Level 3

Hi Community!

I've noticed that ComponentStyleInfoCache stores data about style system applied to a component. But sometimes cache isn't refreshed which leads to a different experience. Could you please share some piece of information regarding the mechanism?

Thanks in advance

3 Replies

Avatar

Level 10

Hi,

Can you provide more details about where it get stored ?

Thanks,

Lokesh

Avatar

Level 9

Hi Sergei,

ComponentStyle stores style in the design and AEM does not cache it as far as I know. Are you talking cache at the dispatcher level?

Regards,

Jitendra

Avatar

Level 1

You can see the status and interface of ComponentStyleInfoCache from below link.

http://localhost:4502/system/console/jmx/com.adobe.cq.wcm.style%3Atype%3DC omponentStyleInfoCacheMBe...

But the clearCache() method does not work.

 

You can clear cache by changing "Cache entry size" of "ComponentStyleInfo Cache Configuration" in OSGi ConfigMgr.