Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add immutable cache headers to hashed assets #23

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Conversation

geoffrich
Copy link
Owner

Same change as the one to official adapters in sveltejs/kit#3222

Everything in the app directory (i.e. /_app) has a filename that includes a hash, and thus can have the immutable cache-control header.

Also bumps SvelteKit peer dependency to next-218, since we need the new builder.appDir property.

@geoffrich geoffrich merged commit 66e4cc4 into main Jan 7, 2022
@geoffrich geoffrich deleted the immutable branch January 7, 2022 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant