-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSettings.yaml
More file actions
74 lines (66 loc) · 3.15 KB
/
Settings.yaml
File metadata and controls
74 lines (66 loc) · 3.15 KB
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
Flowpack:
FullPageCache:
# enable full page caching
enabled: true
# the maximum public cache control header sent
# set to 0 if you do not want to send public CacheControl headers
maxPublicCacheTime: 86400
# requests have to fulfill certain conditions for beeing cached
request:
# !!! Only the http methods "GET" and "HEAD" are supported !!!
# a request will only qualify for caching if it contains no cookieParams that
# are not ignored.
cookieParams:
# ignored cookie params exclude cookies that are handled by the frontend
# and are not relevant for the backend. A usecase would be gdpr consent cookies
# if they are only used on the client side.
# Example:
# - 'consent_settings'
# => If the cookie "consent_settings" is present, it will be cached.
# But if a "_ga" cookie is present, the request will not be cached.
# Important: Only evaluated if "respect" is empty!
ignore: []
# respected cookie params are relevant for the backend and will skip the caching.
# Example:
# - 'Neos_Session'
# => If the "Neos_Session" cookie is present in the request, it will not be cached.
# But if a "_ga" cookie is present, the request will be cached.
# Important: Only evaluated if "ignore" is empty!
respect: []
# a request will only qualify for caching if it only contains queryParams that
# are allowed or ignored. All other arguments will prevent caching.
queryParams:
# allowed params become part of the cache identifier, use this for
# arguments that modify the reponse but still allow caching like pagination
allow: []
# ignored arguments are not part of the cache identifier but do not
# prevent caching either. Use this for arguments that are meaningless for
# the backend like utm_campaign
# Example:
# - 'utm_campaign'
# => If the "utm_campaign" argument is present in the request, it will be cached.
# But if a "utm_source" argument is present, the request will not be cached.
# Important: Only evaluated if "respect" is empty!
ignore: []
# respected arguments are relevant for the backend and will skip the caching.
# All other arguments will be ignored and cached as if they weren't there.
# Example:
# - 'search'
# => If the "search" argument is present in the request, it will not be cached.
# But if a "utm_source" argument is present, the request will be cached as if the argument wouldn't be there.
# Important: Only evaluated if "ignore" is empty!
respect: []
Neos:
Flow:
http:
middlewares:
'fullPageRequestCache':
middleware: 'Flowpack\FullPageCache\Middleware\RequestCacheMiddleware'
position: 'after trustedProxies'
'fullPageCacheFusionAutoconfiguration':
middleware: 'Flowpack\FullPageCache\Middleware\FusionAutoconfigurationMiddleware'
position: 'after fullPageRequestCache'
Neos:
fusion:
autoInclude:
Flowpack.FullPageCache: true