synapse-product/synapse
Erik Johnston 1c41b05c8c Add Cache-Control headers to all JSON APIs
It is especially important that sync requests don't get cached, as if a
sync returns the same token given then the client will call sync with
the same parameters again. If the previous response was cached it will
get reused, resulting in the client tight looping making the same
request and never making any progress.

In general, clients will expect to get up to date data when requesting
APIs, and so its safer to do a blanket no cache policy than only
whitelisting APIs that we know will break things if they get cached.
2018-03-21 17:46:26 +00:00
..
api Merge branch 'master' of github.com:matrix-org/synapse into develop 2018-03-19 11:41:01 +00:00
app Register membership/state servlets in event_creator 2018-03-14 14:30:06 +00:00
appservice Extract group_id from the dict for multiple use 2017-11-16 18:18:30 +00:00
config spell out not to massively increase bcrypt rounds 2018-03-19 09:27:36 +00:00
crypto Fix 500 when joining matrix-dev 2017-11-29 16:00:46 +00:00
events Remove context.push_actions 2018-02-15 15:47:06 +00:00
federation Merge pull request #2978 from matrix-org/erikj/refactor_replication_layer 2018-03-13 15:45:08 +00:00
groups Namespace visibility options for groups 2017-11-09 15:27:18 +00:00
handlers Merge branch 'master' of github.com:matrix-org/synapse into develop 2018-03-19 11:41:01 +00:00
http Add Cache-Control headers to all JSON APIs 2018-03-21 17:46:26 +00:00
metrics Add a metric which increments when a request is received 2018-03-09 16:30:26 +00:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Update comments 2018-02-21 11:29:49 +00:00
replication Explicitly use simplejson 2018-03-20 09:58:13 +00:00
rest Merge branch 'master' of github.com:matrix-org/synapse into develop 2018-03-19 11:41:01 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Merge branch 'master' of github.com:matrix-org/synapse into develop 2018-03-19 11:41:01 +00:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Add comments 2018-03-19 11:35:53 +00:00
__init__.py Bump version and changelog 2018-03-15 23:57:26 +00:00
event_auth.py Fix templating error with unban permission message 2018-01-07 19:52:58 -07:00
notifier.py Clear logcontext before starting fed txn queue runner 2017-11-28 15:26:14 +00:00
python_dependencies.py use bcrypt.checkpw 2018-03-05 18:02:59 +01:00
server.py Split RoomMemberWorkerHandler to separate file 2018-03-14 11:41:45 +00:00
server.pyi Factor out resolve_state_groups to a separate handler 2018-02-01 12:40:04 +00:00
state.py Merge pull request #2864 from matrix-org/rav/persist_event_caching 2018-02-13 14:45:57 +00:00
types.py Add replication http endpoint for event sending 2018-02-07 10:32:32 +00:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00