File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
app/code/Magento/PageCache/Model Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,18 @@ class Config
56
56
*/
57
57
public const VARNISH_6_CONFIGURATION_PATH = 'system/full_page_cache/varnish6/path ' ;
58
58
59
+ /**
60
+ * @deprecated Varnish 5 is EOL
61
+ * XML path to Varnish 5 config template path
62
+ */
63
+ public const VARNISH_5_CONFIGURATION_PATH = 'system/full_page_cache/varnish5/path ' ;
64
+
65
+ /**
66
+ * @deprecated Varnish 4 is EOL
67
+ * XML path to Varnish 4 config template path
68
+ */
69
+ public const VARNISH_4_CONFIGURATION_PATH = 'system/full_page_cache/varnish4/path ' ;
70
+
59
71
/**
60
72
* @var \Magento\Framework\App\Cache\StateInterface $_cacheState
61
73
*/
Original file line number Diff line number Diff line change @@ -23,6 +23,28 @@ class VclTemplateLocator implements VclTemplateLocatorInterface
23
23
*/
24
24
const VARNISH_6_CONFIGURATION_PATH = 'system/full_page_cache/varnish6/path ' ;
25
25
26
+ /**
27
+ * @deprecated Varnish 5 is EOL
28
+ * XML path to Varnish 5 config template path
29
+ */
30
+ const VARNISH_5_CONFIGURATION_PATH = 'system/full_page_cache/varnish5/path ' ;
31
+
32
+ /**
33
+ * @deprecated Varnish 4 is EOL
34
+ * XML path to Varnish 4 config template path
35
+ */
36
+ const VARNISH_4_CONFIGURATION_PATH = 'system/full_page_cache/varnish4/path ' ;
37
+
38
+ /**
39
+ * @deprecated Varnish 4 is EOL
40
+ */
41
+ const VARNISH_SUPPORTED_VERSION_4 = '4 ' ;
42
+
43
+ /**
44
+ * @deprecated Varnish 5 is EOL
45
+ */
46
+ const VARNISH_SUPPORTED_VERSION_5 = '5 ' ;
47
+
26
48
/**
27
49
* Varnish 6 supported version
28
50
*/
You can’t perform that action at this time.
0 commit comments