Skip to content

Commit

Permalink
Font cache support
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Feb 6, 2024
1 parent b1e3733 commit 2ac4dce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 2ac4dce

Please sign in to comment.