Go to file
argiro.kokogiannaki a9652670b3 [Cahce service]
Add:
const expireShort = 2 * 60 * 1000; //2mins
const expireLong = 24 * 60 * 60 * 1000; //24 hours
const cacheMaxSize =500;
const longCachingRequests = ["/communityFull/", "/pagehelpcontent","/provision/mvc/vocabularies/","/pages?page_route="];

-use expireLongTime for longCachingRequests
-add /clear request
-add timer to clean the cache on midnight
-when maxcachesize is reached clean the cache



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59001 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-26 13:33:35 +00:00
explore [Trunk | Explore]: 2020-06-12 09:50:36 +00:00
services [Cahce service] 2020-06-26 13:33:35 +00:00