You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Frank hefter (JIRA)" <de...@myfaces.apache.org> on 2006/12/14 15:11:21 UTC
[jira] Created: (TOMAHAWK-821) put resource path in web.xml halvs
size of produced html code
put resource path in web.xml halvs size of produced html code
-------------------------------------------------------------
Key: TOMAHAWK-821
URL: http://issues.apache.org/jira/browse/TOMAHAWK-821
Project: MyFaces Tomahawk
Issue Type: Improvement
Components: Tree2
Affects Versions: 1.1.3, 1.1.2, 1.1.1, 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
Reporter: Frank hefter
Priority: Minor
Fix For: 1.1.5-SNAPSHOT
I investigated the produced html code by tree2 control.
I replaced
/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11661031/tree2.HtmlTreeRenderer/images/
by just
../imgs/
reduced the size of the produced code by 50% !
I found no way to replace this path for a certain component or all components.
I understand:
The purpose of this long path is to have all resources in place so a change of the library also changes its used resources.
But in my project an html page of 4Mbyte would become just 2 Mbyte which is a reasonable size to render for todays browsers.
We should
have a way to optimze this wast of space somehow for projects that are little bigger than nice demo pages.
Thank you for this great project and the rich efforts you spend!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira