bk99.de entertain the web since 1997

YSlow makes slow web pages measurable

Summary

Yahoo releases YSlow, which examines web pages against proven performance rules and makes concrete bottlenecks visible in the browser. Yahoo first released YSlow in 2007 as an extension for Firebug. The tool analyses loaded components and HTTP properties.

Ideas

  • YSlow rates a page against reproducible rules instead of perceived speed.
  • Many individual HTTP requests can affect loading times more than file sizes.
  • Browser caching prevents unnecessary transfers on repeat visits.
  • Compression reduces text data without changing application logic.
  • Component overviews link concrete resources to their impact.
  • An overall score draws attention to the biggest remaining weaknesses.

Insights

  • Tools change behaviour when they show abstract rules directly on your own system.
  • User-side measurements capture waiting times that server metrics do not explain.
  • Performance budgets make gradual degradation visible early.
  • A fast origin server does not guarantee a fast web page.

Facts

  • The rules come from Yahoo's experience with heavily visited websites.
  • YSlow was later released as open source software.

Recommendations

  • Record requests, data volume and loading time before any optimisation.
  • Only set long cache times for versioned static files.
  • Check improvements with a cold and a warm browser cache.

References

Read the original article

Search the Web Archive