From a739e78ff71c0c9291cf9e54aecd9f2afbea1eb6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 18 Jul 2021 12:23:31 +0100 Subject: [PATCH] Cache producers AMS data --- app/views/producers/index.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/producers/index.html.haml b/app/views/producers/index.html.haml index c192c12dc3..b00268066b 100644 --- a/app/views/producers/index.html.haml +++ b/app/views/producers/index.html.haml @@ -2,7 +2,8 @@ = t :producers_title - content_for :injection_data do - = inject_enterprises(@enterprises) + - cache @enterprises do + = inject_enterprises(@enterprises) .producers{"ng-controller" => "EnterprisesCtrl", "ng-cloak" => true} .row