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

Cache unauthenticated GET/HEAD requests for one hour. #289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MelissaAutumn
Copy link
Member

This will affect all GET/HEAD requests even api calls. I'm not sure if that's something we majorly care about though.

In private browser on my dev environment, not being logged in I get cache-control: max-age=3600, otherwise being logged in I don't get a cache-control header. Let me know if you want an explicit max-age=0 header anywhere.

image

@MelissaAutumn MelissaAutumn requested a review from Sancus May 30, 2024 22:14
@MelissaAutumn MelissaAutumn self-assigned this May 30, 2024
Copy link

Test Results

5 481 tests  ±0   5 393 ✅  - 1   28m 56s ⏱️ -21s
    1 suites ±0      25 💤 ±0 
    1 files   ±0      63 ❌ +1 

For more details on these failures, see this check.

Results for commit e708441. ± Comparison against base commit 9af0935.

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