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 the homepage for a minute #2339

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

syphar
Copy link
Member

@syphar syphar commented Nov 24, 2023

Coming from this traffic spike today:
grafik

I just implemented a thing I had on my mind for some time already.

When the content can be outdated for a short time, caching with a short TTL can really help with these kind of spikes.

We might also add this to more pages.

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Nov 24, 2023
@syphar syphar merged commit bd23777 into rust-lang:master Nov 24, 2023
8 checks passed
@syphar syphar deleted the short-caching branch November 24, 2023 14:32
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Nov 24, 2023
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Nov 29, 2023
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.

2 participants