bulltrackers-module 1.0.198 → 1.0.199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -131,6 +131,7 @@ const createApiHandler = (config, dependencies, calcMap) => {
|
|
|
131
131
|
const computationKeys = req.query.computations.split(',');
|
|
132
132
|
const dateStrings = getDateStringsInRange(req.query.startDate, req.query.endDate);
|
|
133
133
|
const data = await fetchUnifiedData(config, dependencies, computationKeys, dateStrings, calcMap);
|
|
134
|
+
res.set('Cache-Control', 'public, max-age=300, s-maxage=3600');
|
|
134
135
|
res.status(200).send({
|
|
135
136
|
status: 'success',
|
|
136
137
|
metadata: {
|