mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
42 lines
1.9 KiB
JSON
42 lines
1.9 KiB
JSON
{
|
|
"manifests": {
|
|
"symfony/ux-lazy-image": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Symfony\\UX\\LazyImage\\LazyImageBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/lazy_image.yaml": {
|
|
"contents": [
|
|
"# lazy_image:",
|
|
" # By default, images are fetched through \"file_get_contents\" function, but you can use your own implementation ",
|
|
" # with an invokable service or a callable. ",
|
|
" # https://symfony.com/bundles/ux-lazy-image/current/index.html#customizing-images-fetching",
|
|
" # fetch_image_content: 'App\\BlurHash\\FetchImageContent'",
|
|
"",
|
|
" # It is recommended to cache the generated BlurHash for performance reasons, to avoid generating it for each request.",
|
|
" # https://symfony.com/bundles/ux-lazy-image/current/index.html#performance-considerations",
|
|
" # cache: cache.lazy_image",
|
|
"",
|
|
"framework:",
|
|
" cache:",
|
|
" # pools:",
|
|
" # cache.lazy_image: ",
|
|
" # If possible, prefer to use a cache adapter that is not cleared between deployments, like \"cache.adapter.redis\"",
|
|
" # adapter: cache.app",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "f6554b7efe60280645ac979c80700f66b8432131"
|
|
}
|
|
}
|
|
}
|