Web Performance Tips
@webperftips
Followers
1K
Following
1
Media
0
Statuses
80
Debounce? Pshh… Try our new jQuery plugin: DoubleDribble.js $.dbldrbl = function(fn, n){ return function() { while(n--){ fn() } } }
0
0
2
Sure, animated gifs might be larger than video, but they're also more battery/cpu intensive and lower quality.
0
2
10
Fast By Association™ Load iframes of fast websites into the body of your website, and people will associate your site with the fast ones.
0
5
6
Roses are slow. Violets are slow. Sorry this is a day late. 408 Request Timeout.
0
13
9
Enable SSLv3 exclusively on your app so you can still have a green lock, but browsers have an easier time reading the plain text.
0
3
2
Save expensive computations for when the user isn't engaging with application, like during a scroll or primary content load.
0
5
6
Set element.viscosity to below 0.5 for faster reflows.
0
3
1
server { listen 443; rewrite ^ http://$server_name$request_uri?; } https take *so* *long*. Simply redirect it to http.
1
5
7
Use the new ServiceWorkers to add a small amount of latency to each request. This shows users that the servers are "really working hard."
0
10
11
Remove the 'skip intro' link on your homepage to save precious bytes across the wire.
1
5
2
The root URL of your app should allow you to select the minified or unminified version so the user can choose between speed and verbosity.
0
1
6
More like Content Delivery Net-DOESNT-work, amirite?!
0
2
2