MatrixSynapse/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
config spell out not to massively increase bcrypt rounds 2018-03-19 09:27:36 +00:00
crypto
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
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
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
storage Merge branch 'master' of github.com:matrix-org/synapse into develop 2018-03-19 11:41:01 +00:00
streams
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
notifier.py
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
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