diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 5cb5f62..248b331 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -150,6 +150,11 @@ private function setupServiceWorker(ArrayNodeDefinition $node): void ->info('The regex to match the images.') ->example('/\.(ico|png|jpe?g|gif|svg|webp|bmp)$/') ->end() + ->scalarNode('static_regex') + ->defaultValue('/\.(css|js|json|xml|txt|woff2|ttf|eot|otf|map|webmanifest)$/') + ->info('The regex to match the static files.') + ->example('/\.(css|js|json|xml|txt|woff2|ttf|eot|otf|map|webmanifest)$/') + ->end() ->integerNode('max_image_cache_entries') ->defaultValue(60) ->info('The maximum number of entries in the image cache.')