dbmdz / iiif-server-hymir

Hymir is a Java based IIIF Server. It is based on "IIIF Image API Java Libraries" and "IIIF Presentation API Java Libraries" projects (see https://github.com/dbmdz)
MIT License
27 stars 7 forks source link

Add support for caching #33

Open jbaiter opened 5 years ago

jbaiter commented 5 years ago

Currently Hymir does not do any caching on its own. This is less than ideal if the images are fetched from a remote source, e.g. via HTTP or S3. In this case, users should have the option to configure either an on-disk cache or simple LRU RAM caching. This should be fairly simple to implement using something like EHcache.

eroux commented 5 years ago

excellent idea yes, we've implemented a cache with JCS on our hymir but EHcache looks good!