From c930b29127a9ea9dcb8ea24ac6a9e07f2ddaabe3 Mon Sep 17 00:00:00 2001
From: bencroker
+ {% if settings.refreshCacheWhenElementSavedUnchanged %}
+
+ Blitz is configured to refresh cached pages when an element is saved but remains unchanged.
+ {% else %}
+
+ Blitz is configured not to refresh cached pages when an element is saved but unchanged.
+ {% endif %}
+
+ With the refreshCacheWhenElementSavedUnchanged
config setting disabled, cached pages are refreshed only when an element is saved and its content changed. This is recommended and should only be enabled with good reason, as it can cause more refresh cache jobs to be created than necessary.
+
+
+ {% if settings.refreshCacheWhenElementSavedNotLive %}
+
+ Blitz is configured to refresh cached pages when an element is saved but not live.
+ {% else %}
+
+ Blitz is configured not to refresh cached pages when an element is saved but not live.
+ {% endif %}
+
+ With the refreshCacheWhenElementSavedNotLive
config setting disabled, cached pages are refreshed only when an element is saved and has a live status (live/active/enabled). This is recommended and should only be enabled with good reason, as it can cause more refresh cache jobs to be created than necessary.
+
+
{% if craft.app.plugins.getPlugin('async-queue') is not null %} @@ -178,30 +202,6 @@ Eager-loading elements is highly recommended. The Blitz Hints utility lists opportunities for eager-loading elements including the field name, the template and the line number. Learn more
-
- {% if settings.refreshCacheWhenElementSavedUnchanged %}
-
- Blitz is configured to refresh cached pages when an element is saved but remains unchanged.
- {% else %}
-
- Blitz is configured not to refresh cached pages when an element is saved but unchanged.
- {% endif %}
-
- With the refreshCacheWhenElementSavedUnchanged
config setting disabled, cached pages are refreshed only when an element is saved and its content changed. This is recommended and should only be enabled with good reason, as it can cause more refresh cache jobs to be created than necessary.
-
-
- {% if settings.refreshCacheWhenElementSavedNotLive %}
-
- Blitz is configured to refresh cached pages when an element is saved but not live.
- {% else %}
-
- Blitz is configured not to refresh cached pages when an element is saved but not live.
- {% endif %}
-
- With the refreshCacheWhenElementSavedNotLive
config setting disabled, cached pages are refreshed only when an element is saved and has a live status (live/active/enabled). This is recommended and should only be enabled with good reason, as it can cause more refresh cache jobs to be created than necessary.
-
-
{% set refreshExpired = craft.blitz.diagnostics.driverDataAction('refresh-expired-cli') %} {% if refreshExpired is null or refreshExpired < craft.blitz.diagnostics.dateForDb(now|date_modify('-24 hours')) %}