-
-
Notifications
You must be signed in to change notification settings - Fork 141
TODO
macbre edited this page Jul 16, 2012
·
37 revisions
- Wait for the last HTTP request to complete (aka post window.onload activity)
- Emit an event on JavaScript error
- Benchmark reflows and repaints
- Export to HAR format + metric naming convention after HTTP Archive format
- Number of POST requests
- Tracking services
- Not cached assets
- HTML comments length
- Number of inline script tags
- CSS complexity (number and complexity of selectors)
- Use of localStorage vs cookies
- Size of HTML hidden in CSS (display:none) on page load
- Number of DOM queries (via
document.getElementById
,document.getElementsByTagName
and jQuery) - Size of text nodes containing whitespaces only (i.e. the "cost" of formatted HTML)
- Number of cache (Varnish, Squid) hits and misses
- Use Content Delivery Network
- Use base64 encoding for small images
- Don't use query string (?foo=bar) in URLs to static assets + check caching TTL
- Repeated DOM queries (for the same selectors)