4 ms·
We did something similar with KeepAlive on http://settleapp.com http://settleapp.com - we figured that a new user with an empty cache (it's just a holding site,
by wgx 15y ago
We did something similar with KeepAlive on http://settleapp.com http://settleapp.com - we figured that a new user with an empty cache (it's just a holding site, so most users are first-time visitors) would need to load the index and 23 other assets.
We set keepalive to 24 requests over a single http connection - the whole site loads noticeably quicker as a result.
- projct 15y agoYour stylesheet is referencing "../img/.png", which clearly doesn't exist. 404s hurt a lot. You are loading google analytics [1] and jquery synchronously at the top of the page. Moving jquery to right before </body> is advisable at the very least if you can't load it async for some reason, so that it won't block the rest of the page. [2] Most of your static assets have no caching headers (max-age or expires) at all. Your map image could be 128 color png (neuquant + pngout) and nearly 50% smaller with no discernable to the human eye loss [3], and similar can be said for the phone template [4]. Your background tile image is unnecessary, or at the very least could be a 1x1 instead of a 100x100. All of these things will improve performance for everyone, and would have been better targets than messing with keepalive. There is also more left to do... Hope this helps. :) [1] https://developers.google.com/analytics/devguides/collection/gajs/#quickstart https://developers.google.com/analytics/devguides/collection... [2] http://developer.yahoo.com/performance/rules.html#js_bottom http://developer.yahoo.com/performance/rules.html#js_bottom [2] http://dl.dropbox.com/u/571990/settle/map.png http://dl.dropbox.com/u/571990/settle/map.png [3] http://dl.dropbox.com/u/571990/settle/phone_template_bg.png http://dl.dropbox.com/u/571990/settle/phone_template_bg.png
- wgx 15y agoWow this is great stuff. Some of this I knew, but some is new to me. Thanks! On [2] the map pins are noticeably poorer - but this could probably be addressed.