{escaping off} {namespace sfc=SFC\Staticfilecache\ViewHelpers} ForceType {contentType} ExpiresActive on ExpiresByType {contentType} {mode}{lifetime} RewriteEngine On Explicitly prevent direct access here. This is needed because the .htaccess access check in the root dir is overwritten by the RewriteRules defined here. Important: The Timezone of the TIME variable is based on your server timezone and the timezone of the ViewHelper is based on the typo3 configured timezone. Please keep in mind that this is in sync! RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteRule .* - [F,L] RewriteCond %{TIME} >@{expires} RewriteRule ^.*$ /index.php Header set {name} "{value}" Header edit Content-Security-Policy (@http-reporting\?csp=report&requestTime=)\d+ $1@t&%t Header edit Content-Security-Policy (@http-reporting\?csp=report&requestTime=)@t&t=(\d+) $1$2