mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-12 02:31:27 +08:00
Change img CDN URL
This commit is contained in:
committed by
GitHub
parent
aa23084a0f
commit
2277453cd3
@@ -71,9 +71,9 @@ after
|
||||
|
||||
**优化前**
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
First Contentful Pain Time在1.5s,整个页面到1.5s才能可见,DOM加载总时间达到了2.5s
|
||||
|
||||
@@ -81,7 +81,7 @@ First Contentful Pain Time在1.5s,整个页面到1.5s才能可见,DOM加载
|
||||
|
||||
**优化后**
|
||||
|
||||

|
||||

|
||||
|
||||
优化后页面没有再阻塞,0.8s页面就可用了,总DOM加载时间只有1.5s,相较之前简直直接起飞。
|
||||
|
||||
@@ -136,7 +136,7 @@ CSS的fallback加载同理,此处不再赘述
|
||||
|
||||
优化后如图,在开发者工具中手动block资源网站,可以自动fallback从另一个url加载资源,这下网站的可用性又提升了一点点🤏哈哈哈
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user