yassineharbe / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE: Build (and release) a minified distribution #440

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using timeline version 2.3.0 bundle.

IMHO There should be a download containing timeline in a minified version:
1 single javascript file
1 single css file
1 single image file (sprited)

This because using default distribution the browser does too many requests to 
the server, rising latency of the web page in case the user has timeline lib in 
cache (I count at least 10 requests not counting images)

Original issue reported on code.google.com by carraro....@gmail.com on 16 Jun 2011 at 4:34

GoogleCodeExporter commented 9 years ago
You're right. This will require a number of changes to the startup code. But it 
should be done. The current sw makes it "easy" to add Timeline to a page. But 
the cost is additional loads of libraries, translations files, etc. 

Also, the sw should be able to be loaded at the tail end of the page script. 
This will also help page "first view" statistics/performance.

Original comment by larryklu...@gmail.com on 16 Jun 2011 at 4:59

GoogleCodeExporter commented 9 years ago

Original comment by larryklu...@gmail.com on 16 Jun 2011 at 5:01