Skip to content

Add some caching for HTML versions of statuses pages#10701

Merged
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:features/cache-html
May 9, 2019
Merged

Add some caching for HTML versions of statuses pages#10701
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:features/cache-html

Conversation

@ClearlyClaire
Copy link
Copy Markdown
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