Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: set revalidate cache header on 404'd static assets (#12530)
* fix: set revalidate cache header on 404'd static assets Some adapters (like Vercel) apply a immutable cache header by default to static assets. They respect explicitly set headers though. Therefore apply a "must immediately revalidate" cache header to the 404 response of static assets in the SvelteKit runtime related to #9089 * Update packages/kit/src/runtime/server/respond.js Co-authored-by: Conduitry <git@chor.date> --------- Co-authored-by: Conduitry <git@chor.date>
- Loading branch information