Skip to content

Commit

Permalink
feat: change TTL values for /trendings PageRule (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Jul 6, 2022
1 parent 050b455 commit 38a4928
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ export = async function main() {
actions: {
alwaysOnline: 'on',
cacheLevel: 'cache_everything',
cacheTtlByStatuses: [{ codes: '200', ttl: 3600 /* an hour */ }],
edgeCacheTtl: 3600 /* an hour */,
browserCacheTtl: '3600' /* an hour */,
cacheTtlByStatuses: [{ codes: '200', ttl: 31536000 /* a year */ }],
edgeCacheTtl: 31536000 /* a year */,
browserCacheTtl: '31536000' /* a year */,
},
})

Expand Down

0 comments on commit 38a4928

Please sign in to comment.