---
title: "Fresh 2.3: Zero JS by default, View Transitions, and Temporal support"
description: "Fresh 2.3 now skips the client-entry bootstrap script entirely on pages that use no islands or partials, cutting static pages from roughly 5–9 KB gzipped JavaScript to zero with no configuration."
url: "https://swe.quest/articles/fresh-2-3-zero-js-by-default-view-transitions-and-temporal-support-78d123ca76300941"
canonical: "https://deno.com/blog/fresh-2.3"
source: "Deno"
published: "2026-04-24"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["frontend","javascript","web-performance","browsers"]
---

# Fresh 2.3: Zero JS by default, View Transitions, and Temporal support

A post on [Deno](https://swe.quest/sources/deno.md), published 2026-04-24, 7 min read, Release. Original: [https://deno.com/blog/fresh-2.3](https://deno.com/blog/fresh-2.3)

## Summary

Fresh 2.3 now skips the client-entry bootstrap script entirely on pages that use no islands or partials, cutting static pages from roughly 5–9 KB gzipped JavaScript to zero with no configuration. It adds opt-in View Transitions wired into partial navigation, built-in WebSocket routes via app.ws() and ctx.upgrade(), CSP nonce and CIDR-based IP filter middleware, W3C traceparent injection for browser-side OpenTelemetry, Temporal types as island props, and trustProxy handling of X-Forwarded headers. Vite integration drops two Babel passes, fixes CJS and duplicate-Preact issues, and middleware chains are now precompiled at startup; upcoming work targets Vite 8 with Rolldown and build-time prerendering.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)

## Prerequisites

- Islands architecture ([easy posts on System design](https://swe.quest/tags/system-design.md?difficulty=easy))
- Vite basics
- Deno

## Keywords

Fresh, Deno, Vite, View Transitions API, Temporal API, OpenTelemetry, Content-Security-Policy, Preact

## Related posts

- [Fresh 2.0 Graduates to Beta, Adds Vite Support](https://swe.quest/articles/fresh-2-0-graduates-to-beta-adds-vite-support-98975c3541d22bf3.md): Deno · 2025-09-02 · Easy · 3 min read · Frontend, JavaScript, Build systems, Performance engineering
  Fresh 2.0 enters beta after 63 alphas with a stable architecture, and its final major change is an optional Vite plugin built on Vite's Environment API.
- [Fresh 1.5: Partials, client side navigation and more](https://swe.quest/articles/fresh-1-5-partials-client-side-navigation-and-more-9cde9f664f462089.md): Deno · 2023-10-10 · Medium · 7 min read · Frontend, JavaScript, TypeScript
  Fresh 1.5 introduces Partials, a client-side navigation model where marked regions of a page are swapped with server-rendered HTML without a full reload, preserving island state.
- [Fresh 1.0](https://swe.quest/articles/fresh-1-0-407c9d4b84f51b2c.md): Deno · 2022-06-28 · Medium · 5 min read · Frontend, JavaScript, TypeScript, Web performance, CDN & edge
  Fresh is a full stack web framework for Deno that renders pages just-in-time on the server and ships zero JavaScript to the client by default, using the islands architecture so only explicitly opted-in components are hydrated in the browser.
- [Fresh 1.4 – Faster Page Loads, Layouts and More](https://swe.quest/articles/fresh-1-4-faster-page-loads-layouts-and-more-0ba54de19820b6f5.md): Deno · 2023-08-16 · Medium · 7 min read · Frontend, Web performance, TypeScript
  Fresh 1.4 adds optional ahead-of-time asset compilation via \`deno task build\`, which serves island assets roughly 45-60x faster on serverless cold starts than on-the-fly JIT compilation; a ~30kB search island that took 4.28s now revives near-instantly.
- [Fresh 1.2 – welcoming a full-time maintainer, sharing state between islands, limited npm support, and more](https://swe.quest/articles/fresh-1-2-welcoming-a-full-time-maintainer-sharing-state-between-islands-ccf0a74d8fb68678.md): Deno · 2023-06-15 · Medium · 7 min read · Frontend, JavaScript, TypeScript
  Fresh 1.2 brings on Preact maintainer Marvin Hagemeister as full-time lead after a backlog of 60+ unreviewed PRs, and ships features centred on islands.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
