AtlasOfLivingAustralia / ecodata

Data capture webservices supporting Biocollect and other apps
https://ecodata.ala.org.au/documentation/index
8 stars 15 forks source link

Use the grails cache for the CacheService #832

Open cofiem opened 1 year ago

cofiem commented 1 year ago

The grails cache should give better performance due to allowing concurrent access.

Note that this means the cache will use the config 'grails.cache.*'. This can be the default in-memory cache or ehcache via the plugin.

I also changed the parameter maxAgeInDays to be a float, which allows for caching for partial days.