Skip to content

Commit 562c079

Browse files
committed
minor #2501 [Doc] Add a warning message to not recommend Lazy Image package (javiereguiluz)
This PR was merged into the 2.x branch. Discussion ---------- [Doc] Add a warning message to not recommend Lazy Image package | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | | License | MIT Related to #2004. If we don't deprecate the package, at least warn users that it's no longer recommended. Thanks. Commits ------- 519c4ce [Doc] Add a warning message to not recommend Lazy Image package
2 parents b4b3ff3 + 519c4ce commit 562c079

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/LazyImage/doc/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Symfony UX LazyImage
22
====================
33

4+
.. warning::
5+
6+
**This package is no longer recommended.** Instead, use the
7+
`modern techniques to improve image loading performance`_ natively supported
8+
by all major browsers.
9+
410
Symfony UX LazyImage is a Symfony bundle providing utilities to improve
511
image loading performance. It is part of `the Symfony UX initiative`_.
612

@@ -245,6 +251,7 @@ This bundle aims at following the same Backward Compatibility promise as
245251
the Symfony framework:
246252
https://symfony.com/doc/current/contributing/code/bc.html
247253

254+
.. _`modern techniques to improve image loading performance`: https://web.dev/learn/images/performance-issues
248255
.. _`the Symfony UX initiative`: https://ux.symfony.com/
249256
.. _`BlurHash implementation`: https://blurha.sh
250257
.. _`StimulusBundle`: https://symfony.com/bundles/StimulusBundle/current/index.html

0 commit comments

Comments
 (0)