-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathblueprints.yaml
119 lines (107 loc) · 2.96 KB
/
blueprints.yaml
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
name: AdvancedPageCache
slug: advanced-pagecache
type: plugin
version: 3.1.1
description: "AdvancedPageCache turbo charges your site by statically caching pages."
icon: dashboard
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-advanced-pagecache
keywords: "static, cache, plugin, performance"
bugs: https://github.com/getgrav/grav-plugin-advanced-pagecache/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin Status
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
disabled_with_params:
type: toggle
label: Disabled with Params
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Disable caching if there are params set on the URI (eg. /color:blue)
disabled_with_query:
type: toggle
label: Disabled with Query
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Disable caching if there are query options set on the URI (eg. ?color=blue)
disabled_on_login:
type: toggle
label: Disabled for logged in users
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Disable caching if the user is logged in
per_user_caching:
type: toggle
label: Per-user caching
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Enable per-user caching for logged in users (if caching is not disabled for logged in users)
disabled_extensions:
type: selectize
size: large
placeholder: "e.g. rss, xml, json"
label: Disabled Extensions
help: URL extensions that should not be cached (e.g. for news feeds)
classes: fancy
validate:
type: commalist
identifying_header:
type: toggle
label: Identifying Header
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Inject an identifying (X-Grav-APCache) header response tag to identify if the plugin is enabled or not
whitelist:
type: array
value_only: true
label: Whitelist
help: "Enable the plugin on these page paths regardless of other configuration options (don't include prefix, but do include extension)"
placeholder_key:
placeholder_value: /cache-this-route
blacklist:
type: array
value_only: true
label: Blacklist
help: "Disable the plugin when calling these page paths (don't include language prefix, but do include extension)"
placeholder_key:
placeholder_value: /dont-cache-this-route