refactor: update .env.example file

This commit is contained in:
Ritesh Ghosh
2025-01-01 13:40:43 +05:30
parent a2dabdcdbd
commit 1e5eca4da7
+2 -4
View File
@@ -24,10 +24,8 @@ ANIWATCH_API_MAX_REQS=70
# env to use optional redis caching functionality
ANIWATCH_API_REDIS_CONN_URL=<rediss://default:your-secure-password@your-redis-instance-name.provider.com:6379>
# .env.example - Environment configuration file for Aniwatch API
# Cache-Control settings for Vercel Edge Caching
# ANIWATCH_API_S_MAXAGE: Specifies the maximum amount of time (in seconds) a resource is considered fresh when served by a CDN cache.
# Specifies the maximum amount of time (in seconds) a resource is considered fresh when served by a CDN cache.
ANIWATCH_API_S_MAXAGE=60
# ANIWATCH_API_STALE_WHILE_REVALIDATE: Specifies the amount of time (in seconds) a resource is served stale while a new one is fetched.
# Specifies the amount of time (in seconds) a resource is served stale while a new one is fetched.
ANIWATCH_API_STALE_WHILE_REVALIDATE=30