Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Investigate cache headers for Next.js content #312

Closed
@jawnsy

Description

@jawnsy

For the static content that we render, we should determine appropriate cache headers to return and make sure we're returning them, so that caching reverse proxies and CDNs can reduce load on Coder.

Many systems are designed to be content-addressable, so that generated files can be cached indefinitely, with only an index page needing to be served without caching (or with caching but requiring revalidation with an ETag or timestamp).

We would likely need to investigate how next export content should be served when added to an S3 or GCS bucket (i.e. what headers are added), and replicate those in our server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions