- gzip api response
- dont parse xml on client - load xml in thread
This commit is contained in:
parent
10694d8d1e
commit
5b97b26692
4 changed files with 77 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue