From 519c4cea607c3ac1ddfe42030e523acebe82eece Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 10 Jan 2025 16:51:00 +0100 Subject: [PATCH] =?UTF-8?q?[Doc]=C2=A0Add=20a=20warning=20message=20to=20n?= =?UTF-8?q?ot=20recommend=20Lazy=20Image=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/LazyImage/doc/index.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/LazyImage/doc/index.rst b/src/LazyImage/doc/index.rst index b8369e0ff5e..2454ab9432b 100644 --- a/src/LazyImage/doc/index.rst +++ b/src/LazyImage/doc/index.rst @@ -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`_. @@ -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