DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
TYPO3 Cachebuster ExtensionΒΆ
It adds a cachebuster to files referenced via FAL and Fluid Viewhelpers like f:uri.resource or f:image and makes it possible to savely set cache-control headers like
RewriteEngine On
RewriteCond %{QUERY_STRING} ^. [NC]
RewriteRule ^(fileadmin|uploads|typo3conf|typo3temp)/ - [E=SETCACHEHEADER:1]
Header set Cache-Control "max-age=2592000" env=SETCACHEHEADER
Files in fileadmin/_processed_
are cachable too, since file modifications to the original leads to a new processed file.
So you can add
RewriteRule ^fileadmin/_processed_/ - [E=SETCACHEHEADER:1]