-
Notifications
You must be signed in to change notification settings - Fork 253
/
Copy pathsystem.xml
771 lines (766 loc) · 48.1 KB
/
system.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
<?xml version="1.0"?>
<!--
Nexcess.net Turpentine Extension for Magento
Copyright (C) 2012 Nexcess.net L.L.C.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<config>
<tabs>
<Nexcessnet_Turpentine translate="label" module="turpentine">
<label>Turpentine</label>
<sort_order>999999</sort_order>
</Nexcessnet_Turpentine>
</tabs>
<sections>
<turpentine_varnish translate="label" module="turpentine">
<label>Varnish Options</label>
<tab>Nexcessnet_Turpentine</tab>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<groups>
<general translate="label" module="turpentine">
<label>General Options</label>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<auto_apply_on_save translate="label" module="turpentine">
<label>Apply VCL On Config Change</label>
<comment>Automatically generate and apply the new VCL when a change is made to the Varnish or Caching options</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</auto_apply_on_save>
<strip_vcl_whitespace translate="label,comment" module="turpentine">
<label>Strip whitespace from VCL files</label>
<comment>If whitespace stripping is disabled, generated VCL files will get larger and may exceed the cli_buffer varnish config.</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_stripWhitespace</source_model>
<sort_order>25</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</strip_vcl_whitespace>
<vcl_fix translate="label comment">
<label>Use VCL fix</label>
<comment>When Enable is selected, a VCL fix will be used to prevent formKey issues. If Disable is selected, an observer will be used.</comment>
<frontend_type>select</frontend_type>
<sort_order>26</sort_order>
<source_model>adminhtml/system_config_source_enabledisable</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</vcl_fix>
<https_proto_fix translate="label comment">
<label>Set X-Forwarded-Proto Header to HTTPS on port 443</label>
<comment>When using Varnish on port 80 and hitch on port 443 for HTTPS, the fix will set X-Forwarded-Proto header to HTTPS to prevent a re-direct loop.</comment>
<frontend_type>select</frontend_type>
<sort_order>27</sort_order>
<source_model>adminhtml/system_config_source_enabledisable</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</https_proto_fix>
<https_redirect_fix translate="label comment">
<label>Fix HTTPS redirect</label>
<comment>When using Varnish as front door listen on port 80 and Nginx/Apache listen on port 443 for HTTPS, the fix will keep the url parameters when redirect from HTTP to HTTPS.</comment>
<frontend_type>select</frontend_type>
<sort_order>28</sort_order>
<source_model>adminhtml/system_config_source_enabledisable</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</https_redirect_fix>
<varnish_debug translate="label" module="turpentine">
<label>Enable Debug Info</label>
<comment>It is a major security vulnerability, to leave this enabled on production sites</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</varnish_debug>
<varnish_log_commands translate="label" module="turpentine">
<label>Enable Varnish Command Logging</label>
<comment>Log all commands sent to Varnish by Turpentine in the log specified (custom if enabled). Caution - can cause logs to grow quickly!</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>45</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</varnish_log_commands>
<block_debug translate="label" module="turpentine">
<label>Enable Block Logging</label>
<comment>Log block names for adding ESI, only enable when needed to avoid performance hit</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</block_debug>
<ajax_messages translate="label" module="turpentine">
<label>Enable AJAX Flash Messages</label>
<comment>Enable fixing the messages block to load via AJAX, disable if you already have an extension that does this</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>60</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</ajax_messages>
<fix_product_toolbar translate="label" module="turpentine">
<label>Fix Product List Toolbar</label>
<comment>Enable this to prevent caching the visitor's view preferences of the product list</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>65</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</fix_product_toolbar>
<crawler_enable translate="label" module="turpentine">
<label>Enable Site Crawler</label>
<comment>Enable to allow Turpentine to automatically warm the cache</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>70</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</crawler_enable>
<crawler_debug translate="label" module="turpentine">
<label>Enable Crawler Debug</label>
<comment>Enable debug info from the site crawler</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>80</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</crawler_debug>
<crawler_batchsize translate="label" module="turpentine">
<label>Crawler Batch Size</label>
<comment>Number of URLs to crawl per batch, when 0 requests will not be batched</comment>
<frontend_type>text</frontend_type>
<sort_order>90</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<crawler_enable>1</crawler_enable>
</depends>
</crawler_batchsize>
<crawler_batchwait translate="label" module="turpentine">
<label>Crawler Batch Wait</label>
<comment>Time in seconds to wait between batches</comment>
<frontend_type>text</frontend_type>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<crawler_enable>1</crawler_enable>
</depends>
</crawler_batchwait>
</fields>
</general>
<logging translate="label" module="turpentine">
<label>Logging</label>
<sort_order>15</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<use_custom_log_file translate="label,comment" module="turpentine">
<label>Use custom log file</label>
<comment>Log to custom log file rather than system.log</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</use_custom_log_file>
<custom_log_file_name translate="label,comment" module="turpentine">
<label>Custom log file name</label>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<comment>Only enter a file name, no paths.</comment>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<use_custom_log_file>1</use_custom_log_file>
</depends>
</custom_log_file_name>
</fields>
</logging>
<servers translate="label" module="turpentine">
<label>Servers</label>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<version translate="label" module="turpentine">
<label>Varnish Version</label>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_version</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</version>
<server_list translate="label" module="turpentine">
<label>Server List</label>
<frontend_type>textarea</frontend_type>
<comment>Should be a list of HOST:PORT pairs of the Varnish management interfaces, one per line</comment>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</server_list>
<auth_key translate="label" module="turpentine">
<label>Varnish Authentication Key</label>
<frontend_type>text</frontend_type>
<comment>Authentication key for Varnish CLI access. This should be the exact contents of the secret file (if used), newlines can be written as \n</comment>
<sort_order>25</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</auth_key>
<config_file translate="label" module="turpentine">
<label>Config File Location</label>
<frontend_type>text</frontend_type>
<comment>Specify where the Varnish VCL file should be saved</comment>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</config_file>
<custom_include_file_top translate="label" module="turpentine">
<label>Custom VCL File - Top</label>
<frontend_type>text</frontend_type>
<comment>If this file exists, its content will be prepended to the VCL.</comment>
<sort_order>40</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</custom_include_file_top>
<custom_include_file translate="label" module="turpentine">
<label>Custom VCL File - Bottom</label>
<frontend_type>text</frontend_type>
<comment>If this file exists, its content will be appended to the VCL.</comment>
<sort_order>41</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</custom_include_file>
<custom_vcl_template>
<label>Custom VCL Template</label>
<frontend_type>text</frontend_type>
<comment>If defined and present, this template will be used instead of the default VCL template appropriate for the version of Varnish.</comment>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</custom_vcl_template>
</fields>
</servers>
</groups>
</turpentine_varnish>
<turpentine_vcl translate="label" module="turpentine">
<label>Caching Options</label>
<tab>Nexcessnet_Turpentine</tab>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<groups>
<backend translate="label" module="turpentine">
<label>Backend</label>
<frontend_type>text</frontend_type>
<sort_order>5</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<load_balancing translate="label" module="turpentine">
<label>Load Balancing</label>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_loadBalancing</source_model>
<sort_order>05</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</load_balancing>
<backend_host translate="label" module="turpentine">
<label>Backend Host</label>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing>no</load_balancing>
</depends>
</backend_host>
<backend_port translate="label" module="turpentine">
<label>Backend Port</label>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing>no</load_balancing>
</depends>
</backend_port>
<backend_nodes translate="label comment" module="turpentine">
<label>Backend Server List</label>
<frontend_type>textarea</frontend_type>
<comment>A list of HOST:PORT pairs of the backend web servers, one per line</comment>
<sort_order>22</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_nodes>
<backend_probe_url translate="label comment" module="turpentine">
<label>Backend Check URL</label>
<comment>URL where Varnish can probe if a node is available. Leave empty to disable probing.</comment>
<frontend_type>text</frontend_type>
<sort_order>23</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_probe_url>
<backend_probe_timeout translate="label comment" module="turpentine">
<label>Backend Probe Timeout</label>
<comment>Maximum timeout for requests. If the request takes longer than the maximum timeout, it will be marked as a failed response.</comment>
<frontend_type>text</frontend_type>
<sort_order>24</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_probe_timeout>
<backend_probe_interval translate="label comment" module="turpentine">
<label>Backend Probe Interval</label>
<comment>How often to check a backend.</comment>
<frontend_type>text</frontend_type>
<sort_order>25</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_probe_interval>
<backend_probe_window translate="label comment" module="turpentine">
<label>Backend Probe Window</label>
<comment>Total number of responses in a window of health.</comment>
<frontend_type>text</frontend_type>
<sort_order>26</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_probe_window>
<backend_probe_threshold translate="label comment" module="turpentine">
<label>Backend Probe Threshold</label>
<comment>Number of needed successful responses in the backend probe window.</comment>
<frontend_type>text</frontend_type>
<sort_order>27</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing separator="|">yes|yes_admin</load_balancing>
</depends>
</backend_probe_threshold>
<backend_nodes_admin translate="label" module="turpentine">
<label>Backend Server List for Admin</label>
<frontend_type>textarea</frontend_type>
<sort_order>28</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing>yes_admin</load_balancing>
</depends>
</backend_nodes_admin>
<backend_probe_url_admin translate="label" module="turpentine">
<label>Backend Check URL for Admin</label>
<frontend_type>text</frontend_type>
<sort_order>29</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<load_balancing>yes_admin</load_balancing>
</depends>
</backend_probe_url_admin>
<frontend_timeout translate="label" module="turpentine">
<label>Frontend Timeout</label>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>30</sort_order>
<comment>Timeout in seconds for Varnish to get a response from Magento's frontend</comment>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</frontend_timeout>
<admin_timeout translate="label" module="turpentine">
<label>Admin Timeout</label>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>40</sort_order>
<comment>Timeout in seconds for Varnish to get a response from Magento's backend</comment>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</admin_timeout>
<crawlers translate="label" module="turpentine">
<label>Crawler IP Addresses</label>
<frontend_type>text</frontend_type>
<sort_order>50</sort_order>
<comment>Comma-separated list of IP addresses that should bypass Turpentine's frontend cookie requirement. Also useful for performance testing tools as they also typically don't support cookies. Note - if you are using something like Pound to terminate SSL before Varnish, setting this to the same IP could cause users to end up sharing the crawler session.</comment>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</crawlers>
<crawler_user_agents translate="label" module="turpentine">
<label>Crawler User Agents</label>
<frontend_type>text</frontend_type>
<sort_order>60</sort_order>
<comment>Comma-separated list of User-Agents (regexes) to serve cached pages to on initial visit</comment>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</crawler_user_agents>
</fields>
</backend>
<normalization translate="label" module="turpentine">
<label>Normalization Options</label>
<frontend_type>text</frontend_type>
<sort_order>15</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<encoding translate="label" module="turpentine">
<label>Normalize Encoding</label>
<comment>Simplify the Accept-Encoding header recieved from clients</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</encoding>
<user_agent translate="label" module="turpentine">
<label>Normalize User-Agent</label>
<comment>Simplify the User-Agent header recieved from clients</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</user_agent>
<user_agent_mobile_regexp translate="label" module="turpentine">
<label>Regexp for Mobile User-Agent</label>
<comment><![CDATA[See for example http://magebase.com/magento-tutorials/magento-design-exceptions-explained/]]></comment>
<frontend_type>text</frontend_type>
<sort_order>25</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<depends>
<user_agent>1</user_agent>
</depends>
</user_agent_mobile_regexp>
<host translate="label" module="turpentine">
<label>Normalize Host</label>
<comment>Force requests to be for a specific domain name, will probably break most multi-store setups</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</host>
<host_target translate="label" module="turpentine">
<label>Normalized Host Target</label>
<comment>Domain to force requests to, defaults to the domain in the base URL</comment>
<frontend_type>text</frontend_type>
<depends>
<host>1</host>
</depends>
<sort_order>40</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</host_target>
<cookie_regex translate="label" module="turpentine">
<label>Normalize Cookie Regex</label>
<comment>Cookie regex to match to override initial cookie domain</comment>
<frontend_type>text</frontend_type>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</cookie_regex>
<cookie_target translate="label" module="turpentine">
<label>Normalized Cookie Target</label>
<comment>Domain to force cookies to which the regex matches</comment>
<frontend_type>text</frontend_type>
<sort_order>60</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</cookie_target>
</fields>
</normalization>
<ttls translate="label" module="turpentine">
<label>TTLs</label>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<grace_period translate="label" module="turpentine">
<label>Grace Period (seconds)</label>
<comment>Time for using dirty/expired entries while new copies are fetched and hit_for_pass timeout</comment>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>5</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</grace_period>
<default_ttl translate="label" module="turpentine">
<label>Default Page TTL (seconds)</label>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</default_ttl>
<url_ttls translate="label" module="turpentine">
<label>URL-based TTLs</label>
<frontend_type>textarea</frontend_type>
<comment>List of regex (relative to Magento root) and TTL (in seconds) comma-separated pairs (one per line)</comment>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</url_ttls>
<static_ttl translate="label" module="turpentine">
<label>Static File TTL (seconds)</label>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</static_ttl>
<!--
<lru_factor translate="label" module="turpentine">
<label>Cache Hit Extension Time</label>
<comment>Time (in seconds) to add to cache object TTL on a cache hit (this should be set very low)</comment>
<frontend_type>text</frontend_type>
<validate>validate-greater-than-zero</validate>
<sort_order>70</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</lru_factor>
-->
</fields>
</ttls>
<urls translate="label" module="turpentine">
<label>URL-based Caching</label>
<frontend_type>text</frontend_type>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<url_blacklist translate="label" module="turpentine">
<label>URL Blacklist</label>
<frontend_type>textarea</frontend_type>
<comment>List of relative URLs to exclude from caching. The admin section and API are automatically included</comment>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</url_blacklist>
<bypass_cache_store_url translate="label" module="turpentine">
<label>Bypass Varnish if base URL is not found within a store?</label>
<comment>If enabled any URL in the client that does not start with a store URL will bypass the cache</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>11</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</bypass_cache_store_url>
</fields>
</urls>
<params translate="label" module="turpentine">
<label>Parameter-based Caching</label>
<frontend_type>text</frontend_type>
<sort_order>40</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<get_params translate="label" module="turpentine">
<label>GET Parameters</label>
<frontend_type>text</frontend_type>
<comment>Comma-separated list of GET variables that prevent caching</comment>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</get_params>
<ignore_get_params translate="label" module="turpentine">
<label>Ignore GET Parameters</label>
<comment>Comma-separated list of GET variables that will be ignored for caching</comment>
<frontend_type>textarea</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</ignore_get_params>
<transfer_unmodified_url translate="label" module="turpentine">
<label>Transfer unmodified URL to Backend Server</label>
<comment>
By default the backend server (webserver / magento) gets a modified URL (without ignored get parameters).
As a result the ignored parameters can not be used by the backend server for uncachable requests, for example a redirect.
By activating this option the backend server gets the the unmodified url, but the cache still uses the modified url for lookups.
</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>21</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</transfer_unmodified_url>
</fields>
</params>
<static translate="label" module="turpentine">
<label>Static Caching</label>
<frontend_type>text</frontend_type>
<sort_order>45</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<force_static translate="label" module="turpentine">
<label>Force Static Asset Caching</label>
<comment>Always cache static assets</comment>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</force_static>
<exts translate="label" module="turpentine">
<label>Static Asset Extensions</label>
<frontend_type>text</frontend_type>
<comment>Comma-separated list of static asset file extensions</comment>
<depends>
<force_static>1</force_static>
</depends>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</exts>
<simple_hash translate="label" module="turpentine">
<label>Use Simple Hash</label>
<comment>Always serve the same version of a static file. Ignore domain, cookies and browser version. Saves memory and lowers cache misses.</comment>
<depends>
<force_static>1</force_static>
</depends>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</simple_hash>
</fields>
</static>
<maintenance translate="label" module="turpentine">
<label>Maintenance mode</label>
<frontend_type>text</frontend_type>
<sort_order>46</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
<fields>
<enable translate="label" module="turpentine">
<label>Enable Maintenance Mode</label>
<frontend_type>select</frontend_type>
<source_model>turpentine/config_select_toggle</source_model>
<comment>If enabled IP's not in 'developer client restrictions' will receive the following error page</comment>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</enable>
<custom_vcl_synth translate="label" module="turpentine">
<label>Custom HTML content of vcl synth (error) sub</label>
<frontend_type>textarea</frontend_type>
<comment>Enter full HTML page content</comment>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</custom_vcl_synth>
</fields>
</maintenance>
</groups>
</turpentine_vcl>
</sections>
</config>