You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
629 B
16 lines
629 B
# Asset caching configuration for better browser caching |
|
framework: |
|
assets: |
|
# AssetMapper already handles versioning via manifest.json |
|
# No need to set version_strategy as it conflicts with json_manifest_path |
|
json_manifest_path: '%kernel.project_dir%/public/assets/manifest.json' |
|
|
|
# Configure HTTP cache headers for static assets |
|
when@prod: |
|
framework: |
|
http_cache: |
|
# Cache static assets for longer periods |
|
default_ttl: 3600 # 1 hour default |
|
private_headers: ['authorization', 'cookie'] |
|
allow_reload: false |
|
allow_revalidate: false
|
|
|