]> cat aescling's git repositories - mastodon.git/commit
Allow HTTP caching of json view of public statuses (#6115)
authorThibG <thib@sitedethib.com>
Wed, 3 Jan 2018 03:57:57 +0000 (04:57 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 3 Jan 2018 03:57:57 +0000 (04:57 +0100)
commit99f962ba731f67050a914bb5b9a245869531ebd1
tree5318b49d73ac78ffae95c0f5d3fe08531ec64b1b
parent2471796d75d6d7b1eb801faba65d16ff7b825adc
Allow HTTP caching of json view of public statuses (#6115)

* Allow HTTP caching of json view of public statuses

HTML views are not cached as they can contain private statuses as well

* Disable session cookies for ActivityPub json rendering of public toots
app/controllers/statuses_controller.rb