Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Don't re-render documents whose contents can't change #20

Open
@Rich-Harris

Description

@Rich-Harris

This page always returns the same markup. If it were possible to determine that statically, we could render the page once and serve it from a cache thereafter.

Gets a little tricky though — even that page has a dynamic-looking expression within the nav (that determines which nav link is highlighted). Would need some form of whole-app analysis. As such, it's probably not something we can do any time soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    svelteThings we can't implement without changes to Svelte

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions