on 11-05-2015 12:05 PM
Hi,
we have the problem that the defaultMediaCacheRegion is not working. It will be created but there are no items shown as cached in the monitoring. All other regions working as expected. We are using a subtype of Media (without a specific deployment table) for our medias. So i guess that the defaultMediaCacheRegion don´t cache any subtypes.
So the question is, is there any possibility to let the defaultMediaCacheRegion also cache the subtype of Media?
PS: The option to specify a extra deployment table for the subtype, it's out of the question, because we are talking over a productive system.
If you are using the local file media storage strategy, then, this is the normal behaviour. The media cache region locally stores (caches) remote files (physical files). If they are available locally, then, there is no need to cache these items in the specified folder. Therefore, this is really only used for media storage strategies where medias are stored remotely.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adam,
You could create a custom cacheregion. Have you checked this page?
https://wiki.hybris.com/display/release5/Region+Cache#RegionCache-AddingNewCacheRegion
Regards, Eduard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eduard,
i know that i can create a custom cache region, but the problem is that the media type we are using at the moment, is a subtype of media and don't have a extra deployment table. So i don't have a separate typecode, but i need a typecode to specify which type should be cached in a custom cache region. I thought that a subtype will be also cached, because it is in the same table, but unfortunately it isn't so.
Regards, Adam
User | Count |
---|---|
5 | |
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.