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.
nyastodon/spec/controllers/activitypub
Claire 4bc1fde105 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
3 years ago
..
collections_controller_spec.rb Prepare Mastodon for Rails 6 (#15911) 3 years ago
followers_synchronizations_controller_spec.rb Fix followers synchronization mechanism not working when URI has empty path (#16744) 3 years ago
inboxes_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
outboxes_controller_spec.rb Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 3 years ago
replies_controller_spec.rb Prepare Mastodon for Rails 6 (#15911) 3 years ago