forked-synapse/synapse/http
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
additional_resource.py Add a hook for custom rest endpoints 2017-11-02 14:36:55 +00:00
client.py Increase http conn pool size 2018-01-29 14:30:15 +00:00
endpoint.py Remove spurious log argument 2018-01-30 17:52:03 +00:00
matrixfederationclient.py Add federation_domain_whitelist option (#2820) 2018-01-22 19:11:18 +01:00
server.py Add Cache-Control headers to all JSON APIs 2018-03-21 17:46:26 +00:00
servlet.py delete_local_events for purge_history 2018-02-09 13:07:41 +00:00
site.py Track DB scheduling delay per-request 2018-01-16 17:23:32 +00:00