You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Next documents the headers it normally adds, anything under the _next/static path can have the following header attached:
Caching improves response times and reduces the number of requests to external services. Next.js automatically adds caching headers to immutable assets served from /_next/static including JavaScript, CSS, static images, and other media.
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.The text was updated successfully, but these errors were encountered: