cache getMediaUrlInfo

This commit is contained in:
j 2016-08-09 12:56:26 +01:00
parent 90486ec774
commit 0430a0f236

View file

@ -740,7 +740,7 @@ def getMediaUrlInfo(request, data):
response = json_response()
response['data']['items'] = external.get_info(data['url'])
return render_to_json_response(response)
actions.register(getMediaUrlInfo, cache=False)
actions.register(getMediaUrlInfo, cache=True)
@login_required_json
def addMediaUrl(request, data):