Commit Graph
11 Commits
Author SHA1 Message Date
ubuntuandClaude Opus 5.5 c2947bed32 perf(cache): size-capped SQLite cache handler instead of per-file ISR cache
The default Next.js cache writes one file per rendered page and per fetch
and never evicts. With on-demand movie/person/tv pages and crawlers walking
the sitemap, it grew to ~3.7M files (~80 GB) in 5 days, and deleting them
loaded the whole server.

cache-handler.js keeps the ISR and fetch cache in a single SQLite file
(node:sqlite, no native dependency) and evicts the least recently used
entries once it passes NEXT_CACHE_MAX_MB (default 5 GB), so the cache stays
bounded with no cleanup job. The file lives in the container, so each deploy
starts with a fresh cache that never serves pages from an older build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:00:35 +00:00
ner 322f171d88 perf(deploy): standalone output — 1.29GB → 289MB image, node user, build cache mounts 2026-09-29 13:52:31 +03:00
ner af942149af fix: prevent slider flickering 2024-11-07 12:56:43 +02:00
ner 995342f18a feat: proxy cache 2024-11-03 17:42:40 +02:00
ner f3b90f30c3 fix: misspellings 2024-10-25 12:56:28 +03:00
ner 5470401222 init: pwa 2024-10-23 13:32:08 +03:00
ner 02b1ec5f68 chore: removed junk deps 2024-10-21 23:57:28 +03:00
ner edf74fc92c fix: removed revalidate 2023-08-11 15:41:20 +03:00
ner dd7339b62c feat: added torrents list 2023-08-11 15:23:01 +03:00
ner 3c1050898e feat: Initialize project 2023-08-05 12:28:04 +03:00
ner eccc32337f Initial commit from Create Next App 2023-07-23 16:28:08 +03:00