[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:
Konstantina Galouni 2024-02-02 12:44:54 +02:00
parent 3678f7c5ea
commit 109be1c6f6
1 changed files with 1 additions and 1 deletions

View File

@ -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());