Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#13259 closed enhancement (fixed)

Use layers/builds on dojotoolkit.org

Reported by: FreddeFisk Owned by: itorrey
Priority: low Milestone: 1.8.4
Component: Website Version:
Keywords: Cc:
Blocked By: Blocking:

Description

All pages on dojotoolkit.org requires a lot of dojo modules, which are loaded synchronous. From a fairly good connection here in Sweden each one of those requests takes about 200 ms. As an example, the dojotoolkit.org main page includes 30 modules which adds up to 6 seconds of exdra loading time. In total the main page takes almost 9 seconds for me to load (measured using firebug).

This does not give a good first impression for some one who is visiting the site. You should really consider using layers/builds instead of loading all modules on the fly.

See http://dojotoolkit.org/documentation/tutorials/1.6/build/ for more info ;)

Attachments (1)

dojotoolkit_firebug.png (122.8 KB) - added by FreddeFisk 8 years ago.
Loading time of dojotoolkit.org

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by ben hockey

Owner: changed from itorrey to FreddeFisk
Priority: highlow
Status: newpending

the website seems to be using a built version of dojo now.

can this be closed?

if there's no response within 14 days this ticket will automatically be closed.

Changed 8 years ago by FreddeFisk

Attachment: dojotoolkit_firebug.png added

Loading time of dojotoolkit.org

comment:2 Changed 8 years ago by FreddeFisk

Status: pendingnew

Attachment (dojotoolkit_firebug.png) added by ticket reporter.

comment:3 Changed 8 years ago by FreddeFisk

I can't see any change. Attached a screenshot of the "Net" tab in Firebug after loading dojotoolkit.org main page.

comment:4 Changed 8 years ago by ben hockey

Owner: changed from FreddeFisk to itorrey
Status: newassigned

admittedly, the files have not been built into a single layer but if you look at the contents you'll see that they've been built. this scenario is the equivalent of using dojo from CDN. this highlights one of the disadvantages of using dojo from a CDN - you still have a lot of requests - but its a way of using dojo that is acceptable.

assigning back to itorrey to respond or close appropriately

comment:5 Changed 7 years ago by cjolif

Resolution: fixed
Status: assignedclosed

This is now implemented

comment:6 Changed 7 years ago by bill

Milestone: tbd1.8.4
Note: See TracTickets for help on using tickets.