x3ro / draft.sx

Home Page:http://draft.sx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve load time/reduce requests

x3ro opened this issue · comments

commented

Current load time is kind of horrible with around 1.25s. Maybe that can be improved upon.

  • Don't use polyfill.io?
  • Merge and minify JavaScript
  • jQuery accounts for 50% of the sites payload. Do we really need it? Is there a lightweight alternative (we basically "only" need AJAX stuff I guess)
  • When loading with JavaScript, truncate the GitHub API response to the data we need before passing on. Currently everything is being piped, plus the rendered content.

screen shot 2014-10-10 at 18 04 41

commented

jQuery alternative doesn't seem a worthwhile investment right now, especially with gzip.