aboutsummaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
Diffstat (limited to '.env.example')
-rw-r--r--.env.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/.env.example b/.env.example
index 8513245..ecbd080 100644
--- a/.env.example
+++ b/.env.example
@@ -23,3 +23,9 @@ ANIWATCH_API_MAX_REQS=70
# env to use optional redis caching functionality
ANIWATCH_API_REDIS_CONN_URL=<rediss://default:[email protected]:6379>
+
+# Cache-Control settings for Vercel Edge Caching
+# s-maxage specifies the maximum amount of time a resource is considered fresh when served by a CDN cache
+S_MAXAGE=60
+# stale-while-revalidate specifies the amount of time a resource is served stale while a new one is fetched
+STALE_WHILE_REVALIDATE=30