From 5dc130675398cd2af74058584c80f55b0d295158 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sun, 7 Apr 2024 17:53:39 +0200 Subject: [PATCH] Add debug interface to WorkboxPlugins A new interface, HasDebugInterface, has been implemented in various WorkboxPlugins allowing for improved debugging capabilities. Additionally, a new Twig InstanceOfExtension has been added to distinguish plugins implementing the aforementioned interface and permitting pretty-printed json display in the debug view. --- templates/Collector/serviceworker-tab.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Collector/serviceworker-tab.html.twig b/templates/Collector/serviceworker-tab.html.twig index e47a382..6de1d18 100644 --- a/templates/Collector/serviceworker-tab.html.twig +++ b/templates/Collector/serviceworker-tab.html.twig @@ -140,7 +140,7 @@ {{ cachingStrategy.matchCallback }}
{{ cachingStrategy.getMethod() ?? "GET" }} - + {% if cachingStrategy.plugins|length == 0 %} None {% else %}