jmesserli / svmeal-api

Api which scrapes menu plans from SV-Group websites
https://svmeal.pegnu.dev/api/restaurant
MIT License
12 stars 1 forks source link

Scheduled cache eviction doesn't always work #19

Closed jmesserli closed 6 years ago

jmesserli commented 6 years ago

Sometimes, the menuplan from the past day is shown. This means that the cache has not been evicted successfully at night.

Cache expiry via Ehcache's custom expiry mechanism should be implemented to mitigate this: http://www.ehcache.org/documentation/3.1/expiry.html#custom-expiry Also, the ehcache config must be verified working - it might be using Spring's internal Map cache.

jmesserli commented 6 years ago

Fixed by 4d380c5a0832b082c03110de4452bb0f432adf38