From 0430a0f236b76e9ab11707e6e8a35063009456cf Mon Sep 17 00:00:00 2001 From: j Date: Tue, 9 Aug 2016 12:56:26 +0100 Subject: [PATCH] cache getMediaUrlInfo --- pandora/archive/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 905e8ddaf..161525cfe 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -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):