]> cat aescling's git repositories - mastodon.git/commit
Fix RSS feeds not being cachable (#14368)
authorThibG <thib@sitedethib.com>
Wed, 22 Jul 2020 09:44:02 +0000 (11:44 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2020 09:44:02 +0000 (11:44 +0200)
commitf55dd193f9a62623054dba1537d01bd7f5cd32f3
tree1aa839a7498ea0e0bac4d2baf140a491fb022da0
parentbcf85b5208c936486550da0ce978098840218073
Fix RSS feeds not being cachable (#14368)

* Add tests for some cachable responses

This only covers responses that we should have managed to make cachable
so far. It's not the case of all responses that should be cachable in
the end.

* Fix RSS feeds not being cachable
app/controllers/application_controller.rb
spec/controllers/accounts_controller_spec.rb
spec/controllers/activitypub/collections_controller_spec.rb
spec/controllers/activitypub/outboxes_controller_spec.rb
spec/controllers/activitypub/replies_controller_spec.rb
spec/controllers/statuses_controller_spec.rb