Files
sweet/packages/fresh
Leo Kettmeir 56faed1998 fix: stylesheet links in <Head> drop entry CSS (#3825)
The Head cache key for <link> excluded href for every rel, so any <link
rel="stylesheet"> in <Head> collided with entry-asset stylesheets (e.g.
Tailwind) and replaced them at the layout's <head> position. The href
exclusion was added to let <Head> override a singleton like canonical
without a key; scope it to those rels so distinct stylesheets no longer
dedupe.

Closes #3824
2026-05-27 15:10:31 +02:00
..
2026-04-28 13:28:20 +02:00

Fresh

Fresh is a small, fast and extensible full stack web framework built on Web Standards. It’s designed for building high-quality, performant, and personalized web applications.

Learn more about Fresh

Usage

Generate a new Fresh project with @fresh/init:

deno run -Ar jsr:@fresh/init

Add middleware, routes, & endpoints as needed via the routes/ folder or directly on the App instance.

import { App } from "fresh";

const app = new App()
  .get("/", () => new Response("hello world"))
  .get("/jsx", (ctx) => ctx.render(<h1>render JSX!</h1>));

app.listen();

For more information on getting started with Fresh, head on over to the documentation.