-
**提升页面性能的方法**
1、资源压缩合并,减少HTTP请求
2、非核心代码异步加载 -> 异步加载的方式 -> 异步加载的区别
3、利用浏览器缓存 -> 缓存的分类 -> 缓存的原理
4、使用CDN
5、预解析DNS
**异步加载**
1、异步加载的方式
动态脚本加载(利用script标签动态创建加载)
defer:是在HTML解析完之后才会执行,如果是多个,按照…
-
Copied from `README.md` as of 30-Oct-2021:
## TODOs
7. [ ] Fix [issues mentioned in `PageSpeed`](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fhtbkoo.github.io%2Fperson…
-
-
https://web.dev/lcp/
-
**Feature request summary**
It might be nice if the individual metrics in the metrics table linked to their corresponding docs in web.dev/metrics.
![image](https://user-images.githubusercontent.co…
-
### FAQ
- [X] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main…
-
1. 当面试官问你如何进行性能优化时,你该这么回答 https://juejin.im/post/6844903569154375693
-
I was using magepack with big success in 2020, but apparently Google PageSpeed / Lighthouse v6 made it once more harder to get a big performance boost from bundling.
Funny enough, when bundling is en…
-
### Have you read the documentation?
- [X] Yes, I've read the [how to make a reproducable bug guide](https://www.sitespeed.io/documentation/sitespeed.io/bug-report/)
- [X] Yes, I've read the [how to …
-
## Describe the bug
We deliver a complete DOM populated with everything needed to show a Polaris style loading skeleton page to the user while the rest of the app loads.
This is working fine wit…