Hugh Gibson wrote: > Still seems slow navigating between samples. At one point it was waiting > for google analytics. Have you analysed the traffic to see what is being > requested and how long it takes? > I observed that too, it's the urchin.js, maybe we should look into this again. Your measurements for this file look good, though. > A firebug log shows that demo.js is taking 5.55 seconds to load. Looks > like a problem there. Is the caching enabled for the demobrowser as well > as the apiviewer folders? I suppose it must be because 248 KB came out of > cache... > Yes, caching is in place. I did a bit of testing, a checked with the Internet, it seems you have to take the firebug net messages with a grain of salt. For one thing, it is not obvious which files are from the browser cache, e.g. it would list the source for a sample (say Button_1.html) twice, although the second request never reaches the web server (I checked the web server logs), but is taken directly from the cache. It would list sizes for files even when they are taken from the cache with an additional IfModfiedSince request to the server. The times given for individual files also look weird at times, e.g. I got similar figures as you for demo.js and util.js when they were definitely taken from the cache. I cannot believe cache access within the browser takes 5 and 3 seconds! (Maybe I have to check against a packet sniffer here).
My impression was it is not about the loading from the net that makes navigating the samples slow. Maybe it's the load time of qooxdoo in the iframe?! =Thomas > Hugh > > > Button_1.html > http://demo.qooxdoo.org/devel/demobrowser/html/example/Button_1.html > demo.qooxdoo.org > 2 KB > 31ms > > layout.css > http://demo.qooxdoo.org/devel/demobrowser/css/layout.css > demo.qooxdoo.org > 3 KB > 63ms > > demo.js > http://demo.qooxdoo.org/devel/demobrowser/script/demo.js > demo.qooxdoo.org > 246 KB > 5.55s > > util.js > http://demo.qooxdoo.org/devel/demobrowser/html/util.js > demo.qooxdoo.org > 2 KB > 3.38s > > urchin.js > http://www.google-analytics.com/urchin.js > google-analytics.com > 7 KB > 32ms > > __utm.gif > http://www.google-analytics.com/__utm.gif?<snip> > google-analytics.com > 35 b > 234ms > > Button_1.html > http://demo.qooxdoo.org/devel/demobrowser/html/example/Button_1.html > demo.qooxdoo.org > 2 KB > 62ms > > 7 requests > 260 KB > (248 KB from cache) > 9.44s > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
