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 some caching for HTML versions of statuses pages #10701

Merged
merged 1 commit into from
May 9, 2019

Conversation

ClearlyClaire
Copy link
Contributor

Cache public HTML status pages for 10 seconds to avoid situations where multiple instances request the HTML pages at around the same time.

The benefits of this will be lower than our other caching strategies, since ActivityPub-based software trying to fetch the toot as such will go through the other codepath. However, it should yield some improvement regarding legacy OStatus software, as well as in other situations, such as being on the receiving end of Mastodon's link preview crawler.

@Gargron Gargron merged commit 26fc21c into mastodon:master May 9, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
messenjahofchrist pushed a commit to Origin-Creative/mastodon that referenced this pull request Jul 30, 2021
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.

3 participants