Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Add a warning message to not recommend Lazy Image package #2501

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/LazyImage/doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Symfony UX LazyImage
====================

.. warning::

**This package is no longer recommended.** Instead, use the
`modern techniques to improve image loading performance`_ natively supported
by all major browsers.

Symfony UX LazyImage is a Symfony bundle providing utilities to improve
image loading performance. It is part of `the Symfony UX initiative`_.

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

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