Hacker News new | ask | show | jobs
by mankz 5036 days ago
Ext Gantt is actually only 287kb, and <100 gzipped. It does depend on Ext JS but only a few UI classes (TreePanel, Form, TextField etc), so using a custom built Ext JS should bring this down to a very reasonable size (nowhere near 2MB for sure). :)

/Mats (Bryntum founder)

1 comments

I was basing that at the Example code on your site http://bryntum.com/examples/gantt-latest/examples/basic/basi... which a bit short of 2MB (at least when loaded by Safari and Chrome, it seems to load differently in Firefox)...

It would be great if you guys could show off your skills in a optimized demo site...

Here's what my Firebug Net tab tells me:

GET ext-all.js 304 OK cdn.sencha.io 442.4 KB 253ms

GET gnt-all-debug.js 304 Not Modified bryntum.com 282.4 KB 251ms

With a clean Chrome, purged cache: I get "38 requests ❘ 829.55KB transferred ❘ 1.52s (onload: 1.07s, DOMContentLoaded: 1.07s)"

And this is still without making any effort to custom build Ext JS. We're using ext-all.js for simplicity, and to make use of Sencha's CDN which should speed up world wide access compared to us hosting a custom file.

Hope this settles it :)