We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d1e399 commit a8beb52Copy full SHA for a8beb52
packages/plugin-rest-cache/server/src/config/index.js
@@ -5,7 +5,9 @@ export default {
5
provider: {
6
name: 'memory',
7
getTimeout: 500,
8
- options: {},
+ options: {
9
+ maxSize: 32767,
10
+ },
11
},
12
strategy: {
13
debug: false,
@@ -19,10 +21,7 @@ export default {
19
21
useHeaders: [],
20
22
useQueryParams: true,
23
- hitpass: (ctx) =>
- Boolean(
24
- ctx.request.headers.authorization || ctx.request.headers.cookie
25
- ),
+ hitpass: (ctx) => Boolean(ctx.request.headers.authorization || ctx.request.headers.cookie),
26
maxAge: 3600000,
27
contentTypes: [],
28
0 commit comments