mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
6986e1017f
- Add Content-Security-Policy and X-Content-Type-Options headers to image responses - Validate Content-Type allowlist (reject SVG, HTML, non-image types) - Bound width parameter to configured deviceSizes/imageSizes with 3840px max - Add deviceSizes and imageSizes to NextConfig type - Apply to all image paths: Workers, Node.js prod server (App + Pages Router) - Fix benchmarks limit param NaN handling
Performance Benchmarks
A dashboard for viewing vinext performance benchmarks, built with the App Router on Cloudflare Workers.
Compares build times and metrics across Next.js 16 (Turbopack), vinext (Rollup), and vinext (Rolldown) on every merge to main.
Uses a D1 database for benchmark storage and Tailwind CSS for styling.
Running Locally
- Install dependencies:
pnpm install
- Start the dev server:
pnpm dev
- Build for production:
pnpm build
- Preview the production build:
pnpm preview