Skip to content
Open
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
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,17 @@ app.get('/api/resource', (req, res) => {
res.status(500).send('Internal Server Error');
}
});
```
```

### 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 `<img>` tags.
- Consider using JavaScript libraries for more complex scenarios.