XML Configuration Reference : Search : LocalThumbnailsCache
 
LocalThumbnailsCache
com.exalead.mercury.mami.search.v20.LocalThumbnailsCache
The local thumbnails cache configuration.
Parent elements:
com.exalead.mercury.mami.search.v20.ThumbnailCommand (as ThumbnailCommand)
Attributes:
Name
Type
Default value
Description
secure
boolean
True
Thumbnails are only cached and retrieved if enforce_security is set to false for the request. If false, thumbnails are always cached and retrieved. Warning: any logged user knowing the URL of a document could then retrieve a thumbnail for it.
maxHeight
int
120
Maximum height of thumbnails for them to be cacheable
maxWidth
int
120
Maximum width of thumbnails for them to be cacheable
memoryEntries
int
20
Number of thumbnails to keep in memory cache
diskEntries
int
2000
Number of thumbnails to keep in disk cache
timeToLiveS
int
7200
Time period in seconds during which a thumbnail remains in cache. Note that when there is a cache, we also send an expires HTTP header for the thumbnails, with the same time period.