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

Changed default cache behavior #598

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Changed default cache behavior #598

merged 2 commits into from
Jul 4, 2024

Conversation

n0nag0n
Copy link
Collaborator

@n0nag0n n0nag0n commented Jun 29, 2024

If you didn't specify a default cache behavior, then the browser could boss around your routes and create a lot of confusion. This should fix that so that you have to explicitly cache your routes for them to be cached. Usually you only cache your GET and HEAD requests.

@n0nag0n n0nag0n merged commit 8dd255c into master Jul 4, 2024
@n0nag0n n0nag0n deleted the cache-control branch July 4, 2024 15:07
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.

1 participant