From 5a99b76544d8a04ca60d2bb638faa323c38b8c65 Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Wed, 6 Jul 2022 19:51:31 +0200 Subject: [PATCH] feat: change TTL values for /trendings PageRule --- .ci/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/index.ts b/.ci/index.ts index fe61bf18..fd48e937 100644 --- a/.ci/index.ts +++ b/.ci/index.ts @@ -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 */, }, })