1
0
Fork 0
forked from fedi/mastodon
mastodon/app
Ben Lubar c3d1594576 Reduce server load caused by anonymous viewing. (#9059)
Do not start a session if the current user is not logged in for public-facing pages.

Mark pages that don't care about sessions as publicly cacheable.

Keep the max age as 0 so proxies and browsers will still try to retrieve an updated version but can still fall back to the stale version if the site is down or too slow.

Fixes #9035.
2019-03-17 15:39:25 +01:00
..
chewy Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
controllers Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
helpers Add relationship manager UI (#10268) 2019-03-16 11:23:22 +01:00
javascript Save quick filter settings when selecting a different filter (#10296) 2019-03-17 03:13:29 +01:00
lib Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
mailers Fix error in AdminMailer#new_pending_account (#10264) 2019-03-14 14:20:22 +01:00
models Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
policies Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
presenters Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
serializers Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
services Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
validators Fix poll validation issues (#10186) 2019-03-06 04:54:11 +01:00
views Add relationship manager UI (#10268) 2019-03-16 11:23:22 +01:00
workers Avoid race condition when streaming deleted statuses (#10280) 2019-03-16 20:18:47 +01:00