tootlab-mastodon/app/controllers
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
..
activitypub Add specs for activitypub collections controller (#9484) 2018-12-10 21:39:25 +01:00
admin Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
api Add visibility param to reblog REST API (#9851) 2019-03-15 04:36:41 +01:00
auth Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
concerns Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
oauth Fix authorized applications list page design (#9969) 2019-02-04 22:25:42 +01:00
settings Add relationship manager UI (#10268) 2019-03-16 11:23:22 +01:00
well_known Make host_meta/webfinger replies cacheable (fixes #6100) (#6101) 2017-12-27 18:21:12 +01:00
about_controller.rb Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
application_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
authorize_interactions_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
custom_css_controller.rb Add admin custom CSS setting (#8399) 2018-08-24 04:33:27 +02:00
directories_controller.rb Fix directory showing tags that have no currently eligible accounts (#9872) 2019-01-20 12:56:53 +01:00
emojis_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 2018-08-19 15:52:38 +02:00
filters_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
follower_accounts_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
following_accounts_controller.rb Add preference to hide following/followers lists (#7532) 2018-05-18 02:26:51 +02:00
home_controller.rb Ensure single user is a local user (fixes #8154) (#8157) 2018-08-11 11:53:10 +02:00
intents_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
invites_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
manifests_controller.rb Make Chrome splash screen same color as web UI's background color (#5169) 2017-10-02 01:23:32 +02:00
media_controller.rb fix CSP / X-Frame-Options for media embeds (#9558) 2018-12-18 16:40:30 +01:00
media_proxy_controller.rb Raise Mastodon::RaceConditionError if Redis lock failed (#7511) 2018-05-16 12:29:45 +02:00
public_timelines_controller.rb Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
relationships_controller.rb Add relationship manager UI (#10268) 2019-03-16 11:23:22 +01:00
remote_follow_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
remote_interaction_controller.rb Change remote interaction dialog to use specific actions (#9743) 2019-01-07 15:36:26 +01:00
remote_unfollows_controller.rb Add tests for remote_unfollows_controller (#7879) 2018-06-24 19:55:55 +09:00
shares_controller.rb Add REST API for Web Push Notifications subscriptions (#7445) 2018-05-11 11:49:12 +02:00
statuses_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
stream_entries_controller.rb Fix "Show more" URL on paginated threads for remote statuses (#7285) 2018-04-30 01:59:42 +02:00
tags_controller.rb Fix tagged param not being normalized before querying tags (#10249) 2019-03-13 13:02:13 +01:00