Tune caching: shorter revalidate, lighter fetches, on-demand purge.
Use paginated list fetches with stripped list payloads, recent-item helpers for carousels, fetch tags + POST /api/revalidate, and 5-minute page ISR instead of 1 hour. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
f341b010c0
commit
02c7dd51d2
@@ -0,0 +1,4 @@
|
||||
# Runtime env (set in PM2 ecosystem on the websites VM — not committed)
|
||||
|
||||
# Secret for POST /api/revalidate (on-demand cache purge after CMS publish)
|
||||
REVALIDATE_SECRET=
|
||||
Reference in New Issue
Block a user