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/spec
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
..
controllers Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
fabricators Add authentication history (#16408) 4 years ago
features Add submit button to the top of preferences pages (#13068) 5 years ago
fixtures Add import/export feature for bookmarks (#14956) 4 years ago
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 4 years ago
lib Add joined date to profiles in web UI (#16169) 4 years ago
mailers Add Ruby 3.0 support (#16046) 4 years ago
models Add authentication history (#16408) 4 years ago
policies Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
presenters Add Ruby 3.0 support (#16046) 4 years ago
requests Further preparation for Rails 6 (#15916) 4 years ago
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 8 years ago
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 6 years ago
services Fix blocking someone not clearing up list feeds (#16205) 4 years ago
support Fix base64-encoded file uploads not being possible (#12748) 5 years ago
validators Add canonical e-mail blocks for suspended accounts (#16049) 4 years ago
views Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
workers Change Web Push API deliveries to use request pooling (#16014) 4 years ago
rails_helper.rb Add WebAuthn as an alternative 2FA method (#14466) 5 years ago
spec_helper.rb Move rspec examples to tmp dir (#12539) 5 years ago