on 2021 Jun 29 5:46 AM
Hi
I have configured a custom ehcache region (name: projectProductDataCacheRegion) with all the required attributes(image attached) but it is not showing any caching on cloud commerce. I have checked HAC->monitoring->cache for all the aspects (api, storefront, backgorundprocessing) but it's not showing any cache results over there. although cache region is formed and its size is the same as I configured in the project properties file.
Note: It's showing ok in my local (hybris version 2011).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, did you find a solution for this? I'm facing the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to register your cache region to display it in HAC.
In your case, It would be like:
<bean id="projectProductDataCahceRegion" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="projectProductDataCahceRegion" />
OOTB examples:
<!-- Add the cache region to the list displayed in the hac -->
<bean id="objectLabelCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="objectLabelCacheRegion" />
<bean id="objectShortLabelCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="objectShortLabelCacheRegion" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @devdixit2 , Yes, cmsCacheRegion is OOTB functionality. and it's working fine in local but not commerce cloud. before migrating to commerce cloud it's working fine but after migrating to cloud it's not working.
<bean id="cmsCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="cmsCacheRegion" />
User | Count |
---|---|
11 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.