Commit 4e27f93
committed
feat (lazysizes): improves initial page load performance
Adds lazy loading for images to improve initial page load time.
Also sets `decoding="async"` attribute to images with `fetchpriority="high"` to further enhance perceived performance.1 parent 8e45bde commit 4e27f93
File tree
5 files changed
+13
-3
lines changed- assets/conf-img/tpl
- src/js
5 files changed
+13
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2272 | 2272 | | |
2273 | 2273 | | |
2274 | 2274 | | |
| 2275 | + | |
2275 | 2276 | | |
2276 | 2277 | | |
2277 | 2278 | | |
| |||
6703 | 6704 | | |
6704 | 6705 | | |
6705 | 6706 | | |
| 6707 | + | |
| 6708 | + | |
| 6709 | + | |
| 6710 | + | |
| 6711 | + | |
| 6712 | + | |
| 6713 | + | |
6706 | 6714 | | |
6707 | 6715 | | |
6708 | 6716 | | |
| |||
0 commit comments