Allow HTTP caching of json view of public statuses (#6115)
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

SerCom-KC/mastodon,yukimochi/mastodon,riku6460/chikuwagoddon,mhffdq/mastodon,lynlynlynx/mastodon,tateisu/mastodon,salvadorpla/mastodon,ykzts/mastodon,Ryanaka/mastodon,MastodonCloud/mastodon,blackle/mastodon,dunn/mastodon,dunn/mastodon,PlantsNetwork/mastodon,tootcafe/mastodon,dwango/mastodon,MastodonCloud/mastodon,im-in-space/mastodon,PlantsNetwork/mastodon,TheInventrix/mastodon,MastodonCloud/mastodon,ambition-vietnam/mastodon,ikuradon/mastodon,abcang/mastodon,theoria24/mastodon,danhunsaker/mastodon,mhffdq/mastodon,anon5r/mastonon,vahnj/mastodon,Kirishima21/mastodon,Craftodon/Craftodon,h3zjp/mastodon,lindwurm/mastodon,primenumber/mastodon,vahnj/mastodon,summoners-riftodon/mastodon,vahnj/mastodon,yukimochi/mastodon,TheInventrix/mastodon,tri-star/mastodon,masto-donte-com-br/mastodon,anon5r/mastonon,Craftodon/Craftodon,mstdn-jp/mastodon,ikuradon/mastodon,tri-star/mastodon,cobodo/mastodon,hugogameiro/mastodon,ykzts/mastodon,ambition-vietnam/mastodon,theoria24/mastodon,mimumemo/mastodon,NS-Kazuki/mastodon,yi0713/mastodon,maa123/mastodon,amazedkoumei/mastodon,abcang/mastodon,sylph-sin-tyaku/mastodon,rainyday/mastodon,sylph-sin-tyaku/mastodon,masarakki/mastodon,primenumber/mastodon,pixiv/mastodon,unarist/mastodon,unarist/mastodon,blackle/mastodon,ykzts/mastodon,codl/mastodon,masarakki/mastodon,riku6460/chikuwagoddon,Arukas/mastodon,5thfloor/ichiji-social,gol-cha/mastodon,gol-cha/mastodon,res-ac/mstdn.res.ac,musashino205/mastodon,mosaxiv/mastodon,maa123/mastodon,clworld/mastodon,kirakiratter/mastodon,imas/mastodon,tootcafe/mastodon,lindwurm/mastodon,yukimochi/mastodon,5thfloor/ichiji-social,mstdn-jp/mastodon,musashino205/mastodon,summoners-riftodon/mastodon,danhunsaker/mastodon,yukimochi/mastodon,sylph-sin-tyaku/mastodon,res-ac/mstdn.res.ac,musashino205/mastodon,hugogameiro/mastodon,yi0713/mastodon,d6rkaiz/mastodon,KnzkDev/mastodon,kazh98/social.arnip.org,ambition-vietnam/mastodon,d6rkaiz/mastodon,lindwurm/mastodon,h3zjp/mastodon,Chronister/mastodon,WitchesTown/mastodon,honpya/taketodon,rekif/mastodon,pixiv/mastodon,primenumber/mastodon,h3zjp/mastodon,kirakiratter/mastodon,anon5r/mastonon,blackle/mastodon,unarist/mastodon,Ryanaka/mastodon,honpya/taketodon,amazedkoumei/mastodon,Craftodon/Craftodon,tootcafe/mastodon,Chronister/mastodon,Chronister/mastodon,rutan/mastodon,tootsuite/mastodon,dwango/mastodon,masto-donte-com-br/mastodon,Kirishima21/mastodon,kazh98/social.arnip.org,tri-star/mastodon,foozmeat/mastodon,masto-donte-com-br/mastodon,Nyoho/mastodon,im-in-space/mastodon,summoners-riftodon/mastodon,mosaxiv/mastodon,Nyoho/mastodon,tateisu/mastodon,danhunsaker/mastodon,yi0713/mastodon,KnzkDev/mastodon,increments/mastodon,cybrespace/mastodon,MastodonCloud/mastodon,hugogameiro/mastodon,tri-star/mastodon,koba-lab/mastodon,5thfloor/ichiji-social,pointlessone/mastodon,Arukas/mastodon,cybrespace/mastodon,rekif/mastodon,pinfort/mastodon,cobodo/mastodon,KnzkDev/mastodon,kazh98/social.arnip.org,h3zjp/mastodon,KnzkDev/mastodon,rutan/mastodon,WitchesTown/mastodon,ykzts/mastodon,maa123/mastodon,dunn/mastodon,glitch-soc/mastodon,tootsuite/mastodon,lynlynlynx/mastodon,Arukas/mastodon,unarist/mastodon,TheInventrix/mastodon,Nyoho/mastodon,kirakiratter/mastodon,pixiv/mastodon,codl/mastodon,tateisu/mastodon,mstdn-jp/mastodon,clworld/mastodon,cobodo/mastodon,WitchesTown/mastodon,riku6460/chikuwagoddon,imas/mastodon,gol-cha/mastodon,pso2club/mastodon,Ryanaka/mastodon,WitchesTown/mastodon,danhunsaker/mastodon,rainyday/mastodon,cybrespace/mastodon,TheInventrix/mastodon,codl/mastodon,ambition-vietnam/mastodon,amazedkoumei/mastodon,glitch-soc/mastodon,im-in-space/mastodon,glitch-soc/mastodon,cybrespace/mastodon,clworld/mastodon,vahnj/mastodon,TheInventrix/mastodon,d6rkaiz/mastodon,Chronister/mastodon,gol-cha/mastodon,SerCom-KC/mastodon,foozmeat/mastodon,Nyoho/mastodon,clworld/mastodon,pso2club/mastodon,lynlynlynx/mastodon,mimumemo/mastodon,salvadorpla/mastodon,pixiv/mastodon,pointlessone/mastodon,d6rkaiz/mastodon,salvadorpla/mastodon,increments/mastodon,NS-Kazuki/mastodon,NS-Kazuki/mastodon,riku6460/chikuwagoddon,foozmeat/mastodon,rutan/mastodon,rekif/mastodon,abcang/mastodon,MitarashiDango/mastodon,Kirishima21/mastodon,pinfort/mastodon,PlantsNetwork/mastodon,maa123/mastodon,rainyday/mastodon,tootcafe/mastodon,theoria24/mastodon,lynlynlynx/mastodon,mhffdq/mastodon,theoria24/mastodon,koba-lab/mastodon,imas/mastodon,codl/mastodon,tootsuite/mastodon,pointlessone/mastodon,anon5r/mastonon,pointlessone/mastodon,yi0713/mastodon,koba-lab/mastodon,PlantsNetwork/mastodon,masarakki/mastodon,mosaxiv/mastodon,pinfort/mastodon,tateisu/mastodon,dwango/mastodon,vahnj/mastodon,dwango/mastodon,ikuradon/mastodon,ikuradon/mastodon,SerCom-KC/mastodon,rekif/mastodon,blackle/mastodon,summoners-riftodon/mastodon,honpya/taketodon,pso2club/mastodon,primenumber/mastodon,kirakiratter/mastodon,pinfort/mastodon,5thfloor/ichiji-social,MitarashiDango/mastodon,increments/mastodon,Kirishima21/mastodon,koba-lab/mastodon,NS-Kazuki/mastodon,lindwurm/mastodon,cobodo/mastodon,sylph-sin-tyaku/mastodon,Ryanaka/mastodon,kazh98/social.arnip.org,increments/mastodon,res-ac/mstdn.res.ac,pso2club/mastodon,MitarashiDango/mastodon,amazedkoumei/mastodon,mimumemo/mastodon,tootsuite/mastodon,abcang/mastodon,mimumemo/mastodon,Arukas/mastodon,res-ac/mstdn.res.ac,im-in-space/mastodon,honpya/taketodon,masarakki/mastodon,mstdn-jp/mastodon,rutan/mastodon,musashino205/mastodon,SerCom-KC/mastodon,hugogameiro/mastodon,rainyday/mastodon,mosaxiv/mastodon,foozmeat/mastodon,Craftodon/Craftodon,mhffdq/mastodon,imas/mastodon,salvadorpla/mastodon,dunn/mastodon,glitch-soc/mastodon,MitarashiDango/mastodon,masto-donte-com-br/mastodon