noot
This commit is contained in:
parent
07ea1704c2
commit
7a2511db3b
@ -23,6 +23,8 @@ export class WApi {
|
||||
const store = this.bento.namespace('wapi-cache')
|
||||
|
||||
setupCache(c, {
|
||||
interpretHeader: true,
|
||||
ttl: 5 * 1000,
|
||||
storage: buildStorage({
|
||||
async find(key, currentRequest) {
|
||||
const value = await store.get({key})
|
||||
|
Loading…
Reference in New Issue
Block a user