core/homeassistant
Joakim Plate 92aeef82ef Enable compression when sending json to client (#11165)
* Enable compression when sending json to client

Make server compress json content when transmitting to client. Json is quite verbose and compresses well.

A real world example is history_graph requested data for in my case 4 temperature sensors updating every half a second for a graph over 10 days lead to 6MB json which compressed to 200KB using deflate compression.

* Rename variable to request

* Name the variable response instead of request
2018-02-17 21:32:08 -08:00
..
components Enable compression when sending json to client (#11165) 2018-02-17 21:32:08 -08:00
helpers Allow disabling entities in the registry (#12360) 2018-02-13 13:33:15 +01:00
scripts Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
util Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
__init__.py
__main__.py
bootstrap.py Initial support for Config Entries (#12079) 2018-02-16 14:07:38 -08:00
config.py Purge recorder data by default (#12271) 2018-02-11 13:22:59 -08:00
config_entries.py Initial support for Config Entries (#12079) 2018-02-16 14:07:38 -08:00
const.py add friendly_name_template to template sensor (#12268) 2018-02-11 12:12:30 -08:00
core.py
exceptions.py
loader.py
monkey_patch.py
package_constraints.txt Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
remote.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
requirements.py
setup.py Initial support for Config Entries (#12079) 2018-02-16 14:07:38 -08:00