next-cache-effective-pages
JSON →A Next.js helper for creating cache-effective SSR pages with minimal effort (v1.8.0). It simplifies generating regeneratable static-like pages (e.g., sitemaps) with effective caching via Cache-Control headers and built-in protection against bandwidth attacks by stripping query parameters that defeat caching. Key differentiators: zero dependencies, lightweight (small bundle size), works with Next.js >=9, ships TypeScript types, and allows whitelisting specific query params. Release cadence is irregular, latest update 2024.
Resources
packagenext-cache-effective-pages ↗