eclipse-ee4j / mojarra-jsf-extensions

Other
1 stars 3 forks source link

com_sun_faces_ajax.js file is slow to download #79

Closed glassfishrobot closed 16 years ago

glassfishrobot commented 17 years ago

The original issue was logged against Woodstock by jyeary. If a compressed version was provided, it would greatly help download speeds.

https://woodstock.dev.java.net/issues/show_bug.cgi?id=414

------- Comments from jyeary -------

This file is uncompressed and takes significantly longer to download than all other scripts while loading. The file is located in the WEB UI Components library in the jsf-extensions-dynamic-faces-0.1.jar.

This file should be compressed.

------- Additional comments from jyeary Sun Jul 15 00:03:45 +0000 2007 -------

The file takes 1.843ms to download and is 29KB uncompressed. I used Dojo ShrinkSafe to strip out the comments and whitespace. The compressed file is 19KB. The file takes 0.873ms to download, but still takes significantly longer to load than the prototype.js file which is 62KB. The prototype file takes 0.47ms.

Environment

Operating System: All Platform: Sun

Affected Versions

[current]

glassfishrobot commented 5 years ago
glassfishrobot commented 17 years ago

@glassfishrobot Commented Reported by danl

glassfishrobot commented 17 years ago

@glassfishrobot Commented danl said: The Woodstock team has been getting complaints that performance has been greatly decreased since the introduction of Dynamic Faces. (Some developers are asking that we remove it.) During my own testing, using the Firebug plug-in for Firefox, a simple page takes approximately 9.31 seconds to download completely. And the uncompressed com_sun_faces_ajax.js file is 6.61 seconds of all that. Without including Dynamic Faces, the overall page takes about 2.6-2.7 seconds to load.

glassfishrobot commented 16 years ago

@glassfishrobot Commented danl said: I have verified that the com_sun_faces_ajax.js file is now compressed, Combined with our own compression, I can confirm that the download is much quicker. Therefore, this is no longer an issue – I'll mark this fixed.

glassfishrobot commented 17 years ago

@glassfishrobot Commented Was assigned to jsf-extensions-issues

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JSF_EXTENSIONS-79

glassfishrobot commented 16 years ago

@glassfishrobot Commented Marked as fixed on Friday, October 26th 2007, 3:31:06 am