mirror of https://github.com/mastodon/mastodon
868568d1c1
* Make host_meta/webfinger replies cacheable (fixes #6100) Drop common code for handling users and sessions as webfinger queries are very basic, public APIs. Also explicitly mark results as cacheable with “expires_in”. * Add “Vary: Accept” header for caching since content-negociation is used |
||
---|---|---|
.. | ||
host_meta_controller.rb | ||
webfinger_controller.rb |