Class DefaultLocalMediaFileCacheService

java.lang.Object
de.hybris.platform.media.storage.impl.DefaultLocalMediaFileCacheService
All Implemented Interfaces:
LocalMediaFileCacheService

public class DefaultLocalMediaFileCacheService extends Object implements LocalMediaFileCacheService

Default implementation of LocalMediaFileCache interface. Allows to cache locally any stream and returns binary data as File or FileInputStream from local cache.

To configure folder to use local cache use following property key:

 folder.folderQualifier.local.cache = true