☰
Guide · 45 chapters

PageSpeed Optimizations

PageSpeed Insights, or PSI, is another tool created by Google that reports on the performance of a page on both mobile and desktop devices, and similar to Lighthouse, provides suggestions on how that page may be improved. Although PSI may seem similar to Lighthouse, the main difference is that PSI is focused only on Chrome browser performance. Lighthouse is a more comprehensive tool compared to PSI. Learn more about the various PageSpeed recommendations to enhance your web pages and the user experience.

Avoid a Character Set in the Meta Tag
Avoid Bad Requests
Avoid CSS @import
Avoid CSS Expressions
Avoid document.write
Avoid Flash on Mobile Web Pages
Avoid Landing Page Redirects
Avoid Plugins
Combine External CSS
Combine External JavaScript
Combine Images using CSS Sprites
Defer Loading of JavaScript
Defer Parsing of JavaScript
Enable Compression
Enable Keep-Alive
Improve Server Response Time
Inline Small CSS
Inline Small JavaScript
Leverage Browser Caching
Leverage Proxy Caching
Make Landing Page Redirects Cacheable
Minify CSS
Minify HTML

Minify JavaScript
Minimize Cookie Size
Minimize DNS Lookups
Minimize Redirects
Minimize Request Size
Optimize Images
Optimize the Order of Styles and Scripts
Parallelize Downloads Across Hostnames
Prefer Asynchronous Resources
Put CSS in the Document Head
Remove Query Strings from Static Resources
Remove Unused CSS
Serve Resources from a Consistent URL
Serve Scaled Images
Serve Static Content from a Cookieless Domain
Specify a Cache Validator
Specify a Character Set Early
Specify a Vary: Accept-Encoding Header
Specify a Viewport for Mobile Browsers
Specify Image Dimensions
Use an Application Cache
Use Efficient CSS Selectors

Lighthouse is an open-source tool that is used to run an audit against your web pages and provides scores and suggestions for improving page performance, accessibility, SEO, and more.

PageSpeed Insights is a tool created by Google that reports on the performance of a page on both mobile and desktop devices, and provides suggestions on how that page may be improved.

YSlow is an open-source website analysis tool that can be used to identify web page performance issues. Learn more about the YSlow to enhance your web pages and the user experience.

Chapters

  1. 1Avoid a Character Set in the Meta Tag
  2. 2Avoid Bad Requests
  3. 3Avoid CSS @import
  4. 4Avoid CSS Expressions
  5. 5Avoid document.write
  6. 6Avoid Flash on Mobile Web Pages
  7. 7Avoid Landing Page Redirects
  8. 8Avoid Plugins
  9. 9Combine External CSS
  10. 10Combine External JavaScript
  11. 11Combine Images using CSS Sprites
  12. 12Defer Loading of JavaScript
  13. 13Defer Parsing of JavaScript
  14. 14Enable Compression
  15. 15Enable Keep-Alive
  16. 16Improve Server Response Time
  17. 17Inline Small CSS
  18. 18Inline Small JavaScript
  19. 19Leverage Browser Caching
  20. 20Leverage Proxy Caching
  21. 21Make Landing Page Redirects Cacheable
  22. 22Minify CSS
  23. 23Minify HTML
  24. 24Minify JavaScript
  25. 25Minimize Cookie Size
  26. 26Minimize DNS Lookups
  27. 27Minimize Redirects
  28. 28Minimize Request Size
  29. 29Optimize Images
  30. 30Optimize the Order of Styles and Scripts
  31. 31Parallelize Downloads Across Hostnames
  32. 32Prefer Asynchronous Resources
  33. 33Put CSS in the Document Head
  34. 34Remove Query Strings from Static Resources
  35. 35Remove Unused CSS
  36. 36Serve Resources from a Consistent URL
  37. 37Serve Scaled Images
  38. 38Serve Static Content from a Cookieless Domain
  39. 39Specify a Cache Validator
  40. 40Specify a Character Set Early
  41. 41Specify a Vary: Accept-Encoding Header
  42. 42Specify a Viewport for Mobile Browsers
  43. 43Specify Image Dimensions
  44. 44Use an Application Cache
  45. 45Use Efficient CSS Selectors