PDA

View Full Version : Performance in Domino with EXT



galdaka
23 Jun 2007, 12:38 AM
Any ideas for reduce the load time in EXT applications under Domino?

Under Apache, etc.. : http://extjs.com/forum/showthread.php?t=6855&page=2

Thanks in advance,

timtripcony
24 Jun 2007, 7:42 AM
Quickest way to reduce load time is to edit the HTML Head Content in the ViewTemplateDefault form, removing references to "-debug":


extnd-all-debug.js becomes extnd-all.js ( saves 14 KB )
ext-all-debug.js becomes ext-all.js ( saves 330 KB )


If you're willing to be a bit more thorough, you can use ShrinkSafe (http://alex.dojotoolkit.org/shrinksafe/) to combine and minify all of the static JS files (although you'll still need two separate files: one combining yui-utilities, ext-yui-adapter and ext-all, and one combining extnd-all and UIWorkspace, since there's some dynamic loading taking place in between). This will further reduce the total bandwidth consumed but also reduces the total number of HTTP requests the browser must make... always better to have one big file than 10 little ones. Finally, if you've configured your server (http://www.timtripcony.com/blog.nsf/d6plinks/GUIN-6YZ3DG) to support this, you can gzip the minified files. Total page-weight will be miniscule in comparison, and the browser has less work to do in general, so load time will be significantly better.

galdaka
24 Jun 2007, 12:54 PM
ohhhhhh thanks.

galdaka
2 Aug 2007, 12:42 PM
Is posible use gzip with domino r5?

Thanks in advance,