blob: b8bb9b35400754889cc16366ae022c923e43fb41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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;
|