- gzip api response

- dont parse xml on client
- load xml in thread
This commit is contained in:
j 2012-09-07 13:49:41 +02:00
commit 5b97b26692
4 changed files with 77 additions and 13 deletions

View file

@ -10,6 +10,7 @@ def init(backend, site, data):
actions.register(init, cache=False)
def library(backend, site, data):
response = backend.library
response = {}
response['tracks'] = backend.tracks
return json_response(response)
actions.register(library, cache=True)