Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Optimizing jazz web ui

Is there some way to
Use minimized files for jazz
or/and
Use some built dojolayer for the jazz files needed, so that dojo.require(jazz.xxxxx) doesn't load many files. So instead it can be loaded with one HTTP request (the dojo layer).

Performance is very bad when there is 20 HTTP requests for loading jazz all required jazz web ui files.

We have built dojo layer files for other non jazz related dojo code and that shrinked the HTTP requests to just one or two.

0 votes



2 answers

Permanent link
The Jazz Web UI does use shrinksafe to minify javascript, and also combines javascript and CSS files when loading the Web UI. Unlike with layers, it dynamically crawls the full dependency tree of a root file for the Web UI and bundles all that in one request. Though due to the componentized nature of the Web UI, there are several such requests - since loading all the Jazz code upfront would be too much.

Is the performance bad as a whole or only in specific parts of the Web UI? Also, can you double check the hardware requirements and ensure that the hardware and network connectivity are sufficient?

Client side performance is another possibility - some browsers are vastly more efficient than others. IE7 & 8 perform poorly compared to the rest.

0 votes


Permanent link
Maybe we got the wrong web ui file or haven't initialized jazz correctly.
Looking at the response with firebug gives me an unshrinked file.
Looking at firebug HTTP requests I see a lot of requests.

The bottleneck is all the separate jazz requests (due to many dojo.require and its dependencies).
An little bottleneck is also that the files seems to be unshrinked.

I am not looking for loading everything, that would be to much. But HTTP request is one of the most evil thing when it comes to page speed so less HTTP requests is good. So something that are like the dojo layers (that can be built) for making fewer requests. One dojo.require can result in 10 dependent requests, that can be fixed by something like the dojo layers.

And yes, performance is worse in IE7 and IE8. But because of the reasons above it is still not good at all for FF.

What is needed to initialize jazz so that fewer HTTP requests is done?
What is needed to use the shrinked version?
Haven't found this in the documentation.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: May 31 '11, 2:55 a.m.

Question was seen: 4,803 times

Last updated: May 31 '11, 2:55 a.m.

Confirmation Cancel Confirm