เว็บไซต์เช็คความเร็ว สามารถเช็คได้ที่ Gtmetrix,Google Page Speed,WebPageTest
เช็ค Global Latency https://latency.apex.sh/
Speed Compare https://pagespeed.compare/
HTML
Javascript
Minify
Inline critical JS
Combine JS
JS async & defer
CSS
Inline critical CSS
Minify
Combine CSS
Remove Unused CSS
https://purifycss.online/
https://www.babelcoder.com/blog/posts/purify-css
Image
Inline critical images
Images load asynchronously
Image sprites CSS
รวมภาพให้ใช้งานในการโหลดครั้งเดียว
Webp
ใช้ predictive coding เข้ารหัสภาพ ใช้หลักการเดียวกับ VP8 video
<picture>
<source srcset="img/profile.webp" type="image/webp">
<source srcset="img/profile.jpg" type="image/jpeg">
<img src="img/profile.jpg" alt="text">
</picture>