forked from lochmueller/staticfilecache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_conf_template.txt
101 lines (68 loc) · 7.11 KB
/
ext_conf_template.txt
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
# cat=basic; type=boolean; label=Clear cache for all domains in tree: When the TYPO3 tree hosts more than one domain, each domain has its own cache branch. When clearing the cache, only the cache for the domain you are logged on to will be cleared. If you would like the cache for all domains to be cleared when clearing the frontend cache, then check this box.
clearCacheForAllDomains = 1
# cat=basic; type=boolean; label=Boost mode: This mode do not delete the cache files, if editor changes the cache or delete it. The URLs are added to a queue and there is a symfony command (also in the scheduler task module) that call the URLs to rebuild the cache. As result: The regular FE users always get a fast StaticFileCache. Note: If you enable this feature you need the scheduler task. Without the scheduler tasks the website is not updateable anymore.
boostMode = 0
# cat=basic; type=options[Current=current,Childs=childs,Both=both]; label=Backend display options: The backend module should display cache entries of the current page, only the direct children or both?
backendDisplayMode = both
# cat=basic; type=boolean; label=Debug headers: Send debug headers to get a information which component deliver the file (X-SFC-State).
debugHeaders = 0
# cat=basic; type=string; label=Valid .htaccess headers: List of headers that are transferred to the .htaccess configuration. E.g. if you use config.additionalHeaders.xxx you can add this headers here. Please change this configuration only, if you know what you do. "Content-Type" is recommended. Note: Content-Type will be added automatically.
validHtaccessHeaders = Content-Type,Content-Language,Link,X-SFC-Tags
# cat=basic; type=string; label=Valid fallback middleware headers: List of headers that are transferred to the xxx.config.json file. E.g. if you use config.additionalHeaders.xxx and you have useFallbackMiddleware set to true, you can add this headers here. Please change this configuration only, if you know what you do. "Content-Type" is recommended. Note: Content-Type will be added automatically.
validFallbackHeaders = Content-Type,Content-Language,Link,X-SFC-Tags
# cat=basic; type=boolean; label=Disable StaticFileCache in development: When checked, the StaticFileCache won't be generated if in development application context.
disableInDevelopment = 0
# cat=basic; type=boolean; label=Rename caching tables from cache_* to sfc_*: When checked, the caching tables of the DB layer are not prefixed with cache_* anymore. If you truncate the cache_* tables (typo3_console clear cache force) without the implementation, the cache has files but no DB representation. You could rename the tables with this options (run DB compare!!)
renameTablesToOtherPrefix = 0
# cat=basic; type=boolean; label=Large identifier in cache table: Increase the identifier field in the Cache table (used for the URI) from 500 to 10.000
largeIdentifierInCacheTable = 0
# cat=basic; type=boolean; label=Use reverse URI length in priority: Add "1000-URILENGTH" to the priority so the home page is much more important than deeplinks
useReverseUriLengthInPriority = 1
# cat=basic; type=boolean; label=Use fallback middleware: Use the fallback middleware to deliver the static file, if there is no .htaccess configuration
useFallbackMiddleware = 1
# cat=basic; type=boolean; label=Hash URI in cache (BETA!!!): Hash the URI in cache so the cache identifier is short. Avoid problems with very large URIs
hashUriInCache = 0
# cat=basic; type=boolean; label=Use rawurldecode for path: call the PHP method rawurldecode for the cache filename path of the URI
rawurldecodeCacheFileName = 0
# cat=basic; type=string; label=Htaccess Template name: The template path for the .htaccess file generation
htaccessTemplateName = EXT:staticfilecache/Resources/Private/Templates/Htaccess.html
# cat=basic; type=string; label=Php Template name: The template path for the php file generation
phpTemplateName = EXT:staticfilecache/Resources/Private/Templates/Php.html
# cat=basic; type=string; label=Override cache directory: If this config var is empty the default is "typo3temp/assets/tx_staticfilecache/". If you change this value you HAVE TO adapt your rewrite configuration.
overrideCacheDirectory =
# cat=Generator; type=boolean; label=Enable Cache Manifest generator (BETA!!!): Create manifest files
enableGeneratorManifest = 0
# cat=Generator; type=boolean; label=Enable PHP generator: When checked, the php file including headers output will write to the cache. This will also disable the .htaccess file generation.
enableGeneratorPhp = 0
# cat=Generator; type=boolean; label=Enable Plain generator: When checked, the normal (default) file will write to the cache.
enableGeneratorPlain = 0
# cat=Generator; type=boolean; label=Enable GZIP compression generator: When checked, a gzipped version of the static file is written to the cache directory. Take care to also choose the proper .htaccess configuration when enabling this option.
enableGeneratorGzip = 1
# cat=Generator; type=boolean; label=Enable Brotli generator: When checked, the Brotli version of the static file is written to the cache directory.
enableGeneratorBrotli = 0
# cat=Headers; type=boolean; label=Send Cache-Control header redirect after cache timeout: Add a mod_rewrite statement to the generated .htaccess files, that redirect the user to the index.php, if the cache is invalid.
sendCacheControlHeaderRedirectAfterCacheTimeout = 0
# cat=Headers; type=boolean; label=Enable Cache Tags: Output the TSFE cache tags for the current site in the rendering and for the cache entry
cacheTagsEnable = 0
# cat=HttpPush; type=boolean; label=Enable HTTP/2 Push: Enable sending HTTP/2 push headers (experimental)
sendHttp2PushEnable = 0
# cat=HttpPush; type=string; label=File extensions for HTTP/2 push: Different file extension for HTTP/2 push. Please take care, that there is a Handler for parsing the file extensions. Possible values are: css,js,svg,ico,png,jpg,jpeg,woff,woff2
sendHttp2PushFileExtensions = css,js
# cat=HttpPush; type=string; label=File limit for HTTP/2 push: The limit of files that are added as HTTP/2 push
sendHttp2PushFileLimit = 10
# cat=HttpPush; type=options[No Limit=,<head> tag=head,<body> tag=body]; label=Limit the pushes to specific areas: You can select from either '<head>' or '<body>', which pushes only the assets from the named area. Otherwise, and as default, the whole '<html>' tag is taken.
sendHttp2PushLimitToArea =
# cat=InlineAssets; type=int+; label=Maximum Asset-File-Size to include [byte]
inlineAssetsFileSize = 50000
# cat=InlineAssets; type=boolean; label=Inline FavIcon#1 (experimental): includes ico,png and (clean) svg
inlineServiceFavIcon = 0
# cat=InlineAssets; type=boolean; label=Inline JS (experimental): excludes `defer`
inlineServiceScripts = 0
# cat=InlineAssets; type=boolean; label=Minify Inline JS (very experimental)
inlineScriptMinify = 0
# cat=InlineAssets; type=boolean; label=Inline CSS (experimental): excludes `media="print"`
inlineServiceStyles = 0
# cat=InlineAssets; type=boolean; label=Minify Inline CSS (very experimental)
inlineStyleMinify = 0
# cat=InlineAssets; type=string; label=Inline CSS Assets (experimental): possible ico,png,jpg,jpeg,woff,woff2
inlineStyleAssets = ico,png,woff2