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/controllers
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
..
activitypub Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
admin Add management of delivery availability in Federation settings (#15771) 4 years ago
api Fix e-mail confirmations API not working correctly (#16348) 4 years ago
auth Add authentication history (#16408) 4 years ago
concerns Add authentication history (#16408) 4 years ago
oauth
settings Add authentication history (#16408) 4 years ago
well_known Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
about_controller.rb Add server rules (#15769) 4 years ago
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Further improve the media attached status query for accounts (#16106) 4 years ago
application_controller.rb Fix database serialization failure returning HTTP 500 (#16101) 4 years ago
authorize_interactions_controller.rb
custom_css_controller.rb Remove set-cookie header on custom.css (#16314) 4 years ago
directories_controller.rb Change trending hashtags to be affected be reblogs (#16164) 4 years ago
emojis_controller.rb
filters_controller.rb
follower_accounts_controller.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
following_accounts_controller.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
health_controller.rb Change health check (#15988) 4 years ago
home_controller.rb
instance_actors_controller.rb Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
intents_controller.rb
invites_controller.rb
manifests_controller.rb
media_controller.rb
media_proxy_controller.rb Fix media proxy RedisLocks auto-releasing too fast (#16291) 4 years ago
public_timelines_controller.rb
relationships_controller.rb
remote_follow_controller.rb
remote_interaction_controller.rb
shares_controller.rb
statuses_controller.rb Fix error when trying to render component for media without meta (#16112) 4 years ago
tags_controller.rb