cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing custom cache region

Former Member
0 Kudos

Hello Team,

We are trying to add custom media cache region. The aim is to store images in this custom cache instead of defaultMediaCacheRegion to reduce the time required to load the images. We have few questions related with this

1.Is this a correct approach ? Will implementing a custom cache help load images faster ?

  1. In order to do this we are referring below links - https://wiki.hybris.com/display/release5/Region+Cache https://wiki.hybris.com/display/forum/Custom+region+cache

    We have added the custom cache region inside core-cache.xml as below

We have also implemented a cache region resolver to read the newly created Cache Region. We are able to retrieve the cache using this resolver . However this cache does not store any image and even after uploading image through impex the cache statistics are empty. Can you please advice what could I be missing?

Thanks, Aditi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Aditi, Try to add your xml file in global context in project.properties of that extension say for example core.global-context=core-cache.xml