You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,11 +220,12 @@ protected function _prepareForm()
216
220
);
217
221
218
222
//Varnish Configuration
223
+
219
224
$managementFieldset->addField(
220
225
'vcl_lbl',
221
226
'note',
222
227
[
223
-
'text' => $this->helper->getCopy('management:configure-application:vcl-explanation', 'Upload Varnish Configuration to section.io. <u><strong style="color:red;font-size:16px;">NOTE: This will overwrite your default.vcl!</strong></u> The changes will be shown in the git log, and are revertable, but your current default.vcl will be entirely overwritten. This is intended to be a step to set up your website. It will update and apply configuration in the <strong>Production branch</strong>.')
228
+
'text' => $this->helper->getCopy('management:configure-application:vcl-explanation', ($this->moduleManager->isEnabled('Magento_CacheInvalidate') ? "Magento_CacheInvalidate is active. <b>Disable it unless you are also running a local instance of varnish.</b><pre>root@magento:/var/www/html# /bin/magento module:disable Magento_CacheInvalidate</pre>" : "Magento_CacheInvalidate is <b>not active</b>. Will only purge on Section, not local cache. (this is proper for most configurations)") . '<br><br>Upload Varnish Configuration to section.io. <u><strong style="color:red;font-size:16px;">NOTE: This will overwrite your default.vcl!</strong></u> The changes will be shown in the git log, and are revertable, but your current default.vcl will be entirely overwritten. This is intended to be a step to set up your website. It will update and apply configuration in the <strong>Production branch</strong>.')
0 commit comments