NaturalHistoryMuseum / iiif-image-server

A IIIF Image Server
GNU General Public License v3.0
5 stars 0 forks source link

Add disk usage limits for cache and source #8

Closed jrdh closed 2 years ago

jrdh commented 2 years ago

A configurable limit for each would be good, either for number of files or size of files. If it's slow to examine this on a regular basis (say every hour) might be worth setting up an LRU containing all the files and then hook that to know when to delete stuff?