Skip to content

v1.3.2

Latest

Choose a tag to compare

@akkaraponph akkaraponph released this 23 Feb 11:11

Full Changelog: v1.3.1...v1.3.2

[1.3.2] - 2026-02-23

Performance

  • Cache-safe HTTP headers: Added public/_headers for Cloudflare Pages so HTML is revalidated on each load (Cache-Control: no-cache for / and /index.html) while hashed assets under /assets/* use long-lived cache (max-age=31536000, immutable). Ensures new deploys are picked up without stale app issues.
  • Production sourcemaps disabled: Sourcemaps are now generated only in development (vite.config.ts), reducing production build size and deploy payload.
  • Deferred Sentry init: Error reporting (Sentry/Betterstack) is initialized after first paint via requestIdleCallback (with timeout fallback) so initial load and TTI are not blocked by SDK setup.
  • Font preload: Added <link rel="preload"> in index.html for the critical Poppins font stylesheet so the browser fetches it earlier; the existing CSS @import can use the preloaded resource for better LCP.

Technical

  • vite.config.ts: defineConfig now accepts { mode } and sets build.sourcemap: mode !== "production".
  • src/frontend.tsx: Sentry init moved into initSentryWhenIdle() and invoked via deferSentryInit() after createRoot().render() in production.