Resourcemanagement/server/modules/apicache/index.js

12 lines
304 B
JavaScript

const apicache = require("./apicache");
apicache.options({
headerBlacklist: ["cache-control"],
headers: {
// Disable client side cache, only server side cache.
// BUG! Not working for the second request
"cache-control": "no-cache",
},
});
module.exports = apicache;