From 79bad70407856df42901ae4268bd42110c79e505 Mon Sep 17 00:00:00 2001 From: niro2-1 Date: Mon, 25 May 2026 14:35:15 +0300 Subject: [PATCH] Add lazy-loading information to README --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bf579b..6307597 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,17 @@ app.get('/api/resource', (req, res) => { res.status(500).send('Internal Server Error'); } }); -``` \ No newline at end of file +``` + +### Image Lazy-Loading + +Lazy-loading images can significantly improve page load times and overall performance. It defers the loading of images until they are needed, which is especially beneficial for pages with many images. + +#### Benefits: +- Reduces initial load time +- Saves bandwidth +- Improves user experience + +#### Implementation: +- Use the `loading="lazy"` attribute in `` tags. +- Consider using JavaScript libraries for more complex scenarios. \ No newline at end of file