[cache | develop | DONE | ADDED]: cache.js: Added in "longCachingRequests", the endpoint "/utils-service/explore/home" to be used as a grouped response for the numbers in explore home page.
This commit is contained in:
parent
3678f7c5ea
commit
109be1c6f6
|
@ -14,7 +14,7 @@ const cacheMaxSize = 500;
|
|||
const longCachingRequests = ["/communityFull", "/full", "/pagehelpcontent",
|
||||
"/provision/mvc/vocabularies/", "/pages?page_route=",
|
||||
"/allmetrics", "/countryusagestats/", "/openaire/info",
|
||||
"/api/communities/", "/openaire/contexts/"];
|
||||
"/api/communities/", "/openaire/contexts/", "/utils-service/explore/home"];
|
||||
let cors = require('cors');
|
||||
app.use(cors());
|
||||
|
||||
|
|
Loading…
Reference in New Issue