You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!array_key_exists('validHtaccessHeaders', $extensionConfig)) {
36
+
thrownew \Exception('It seams your extension configuration stored in the LocalConfiguration is old. Please save the configuration of the StaticFileCache extension in the extension manager or deployment process.');
Copy file name to clipboardExpand all lines: ext_conf_template.txt
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# cat=basic; type=boolean; label=Clear cache for all domains in tree: When the TYPO3 tree hosts more than one domain, each domain has it's 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.
2
2
clearCacheForAllDomains = 1
3
3
4
-
# cat=basic; type=boolean; label=Boost mode: This mode do not delete the cache files, if editor change 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.
4
+
# cat=basic; type=boolean; label=Boost mode: This mode do not delete the cache files, if editor change 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.
5
5
boostMode = 0
6
6
7
7
# 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?
@@ -10,7 +10,7 @@ backendDisplayMode = both
10
10
# cat=basic; type=boolean; label=Debug headers:Send debug headers to get a information which component deliver the file (X-SFC-State).
11
11
debugHeaders = 0
12
12
13
-
# cat=basic; type=string; label=Valid htaccess headers:List of headers that are transfered to the htaccess configuration. E.g. if you use config.additionalHeaders.xxx you can add this headers here
13
+
# cat=basic; type=string; label=Valid htaccess headers:List of headers that are transfered 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 waht you do. "Content-Type" is recommended.
# cat=basic; type=boolean; label=Disable StaticFileCache in development: When checked, the StaticFileCache won't be generated if in development application context.
@@ -23,7 +23,7 @@ renameTablesToOtherPrefix = 0
23
23
useReverseUriLengthInPriority = 1
24
24
25
25
# cat=basic; type=boolean; label=Use fallback middleware: use the fallback middleware to deliver the static file, if there is no htaccess configuration
26
-
useFallbackMiddleware = 0
26
+
useFallbackMiddleware = 1
27
27
28
28
# cat=basic; type=boolean; label=Hash URI in cache (BETA!!!): Hash the URI in cache so the cache idenfier is short. Avoid problems with very lage URIs
# cat=basic; type=string; label=Override cache directory: If this config var is empty the default is "typo3temp/tx_staticfilecache/". If you change this value you HAVE TO addapt you rewrite configuration.
# cat=generator; type=boolean; label=Enable Plain generator: When checked, the normal (default) file will write to the cache.
43
+
# cat=Generator; type=boolean; label=Enable Plain generator: When checked, the normal (default) file will write to the cache.
44
44
enableGeneratorPlain = 0
45
45
46
-
# 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.
46
+
# 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.
47
47
enableGeneratorGzip = 1
48
48
49
-
# cat=generator; type=boolean; label=Enable Brotli generator: When checked, the brotli version of the static file is written to the cache directory.
49
+
# cat=Generator; type=boolean; label=Enable Brotli generator: When checked, the brotli version of the static file is written to the cache directory.
50
50
enableGeneratorBrotli = 0
51
51
52
52
# cat=Headers; type=boolean; label=Send Cache-Control header: If your Apache installation has 'mod_expires' loaded, you can use it to send Cache-Control headers. For each statically cached page a .htaccess file will be created with a mod_expires rule. This rule will make Apache send a cache header when delivering the cached page to the visitor.
@@ -55,14 +55,14 @@ sendCacheControlHeader = 1
55
55
# 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.
# cat=HTTP/2 Push; 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
64
+
# 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
65
65
sendHttp2PushFileExtensions = css,js
66
66
67
-
# cat=HTTP/2 Push; type=string; label=File limit for HTTP/2 push: The limit of files that are added as HTTP/2 push
67
+
# cat=HttpPush; type=string; label=File limit for HTTP/2 push: The limit of files that are added as HTTP/2 push
0 commit comments