Lazy Loading
Checks for lazy loading on below-fold images
Checks for lazy loading on below-fold images
| Rule ID | images/lazy-loading |
| Category | Images |
| Scope | Per-page |
| Severity | info |
| Weight | 3/10 |
Solution
Use loading=‘lazy’ on images below the fold to defer loading until needed. This improves initial page load and saves bandwidth. Native lazy loading is supported by all modern browsers. Don’t lazy load above-fold images (especially LCP candidates). Consider loading=‘eager’ for critical images.
Enable / Disable
Disable this rule
squirrel.toml
toml[rules]
disable = ["images/lazy-loading"]Disable all Images rules
squirrel.toml
toml[rules]
disable = ["images/*"]Enable only this rule
squirrel.toml
toml[rules]
enable = ["images/lazy-loading"]
disable = ["*"]