You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app
Claire 49219508bc
Fix anonymous access to outbox not being cached by the reverse proxy (#16458)
* Fix anonymous access to outbox not being cached by the reverse proxy

Up until now, anonymous access to outbox was marked as public, but with a
0 duration for caching, which means remote proxies would only serve from cache
when the server was completely overwhelmed.

Changed that cache duration to one minute, so that repeated anonymous access
to one account's outbox can be appropriately cached.

Also added `Signature` to the `Vary` header in case a page is requested, so
that authenticated fetches are never served from cache (which only contains
public toots).

* Remove Vary: Accept header from webfinger controller

Indeed, we have stopped returning xrd, and only ever return jrd, so the
Accept request header does not matter anymore.

* Cache negative webfinger hits for 3 minutes
4 years ago
..
chewy Change `tootctl search deploy` algorithm (#14300) 5 years ago
controllers Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
helpers New Crowdin updates (#16269) 4 years ago
javascript Fix #16407 (#16432) 4 years ago
lib Fix some RedisLocks auto-releasing too fast (#16276) 4 years ago
mailers Prepare Mastodon for Rails 6 (#15911) 4 years ago
models Fix not being able to suspend accounts that already have a canonical e-mail block (#16455) 4 years ago
policies Add management of delivery availability in Federation settings (#15771) 4 years ago
presenters Add server rules (#15769) 4 years ago
serializers Fix #16407 (#16432) 4 years ago
services Fix some RedisLocks auto-releasing too fast (#16276) 4 years ago
validators Fix existing username validator not allowing multiple accounts (#16153) 4 years ago
views Fix #16407 (#16432) 4 years ago
workers Fix newlines in accout notes added by the Move handler (#16415) 4 years ago