One of the things that would also help giving a much higher perceived performance, is reducing the JS and CSS of the Home Page. A lot of the JS and CSS that are loaded are NOT needed on the home page. With a loading of the global JS and CSS in 2 pages instead of one, the perceived performance of XWiki gets a huge boost I've done this with an #if in javascripts.vm and stylesheets.vm in some wikis and it was great. Ludovic Caleb James DeLisle a écrit :
Hello,
This is a topic which I have been most interested in, as you will see from my screenshot in http://jira.xwiki.org/jira/browse/XWIKI-2022 loading of javascript is the biggest waste of time. I would like to develop some code to store scripts in a cache and concatenate commonly used scripts together and serve in a single request. I have tested this and it works very well, but I have to make the code neat enough for production. Something which will probably wait until we have our first foot of snow here because there is lots to do in the fall.
also see: http://jira.xwiki.org/jira/browse/XSKINX-30 Concatinate always used scripts together and serve in single file. and http://jira.xwiki.org/jira/browse/XSKINX-9 Introduce some internal caching mechanism, since minimizing the file is resource intensive
Caleb James DeLisle
Thomas Mortagne wrote:
Hi,
On Thu, Nov 5, 2009 at 17:28, Thibaut Camberlin <[email protected]> wrote:
Hi all,
Page Loading time is a very important criteria when developing a web site. According to a recent survey<http://www.webdesignerwall.com/general/users-place-more-weight-on-design/>more than half people would drive away from a site with slow loading pages.
There are several interesting issues that could be implemented to substantially improve page loading time in XWiki.
Number one is aggreation of CSS and JS files in order to reduce HTTP requests. (For info, we have a total of 25 external CSS and JS files on a basic XWiki install when in the best world we would have just 2 - 1 CSS and 1 JS)
Note that there is already many suggestions in http://jira.xwiki.org/jira/browse/XWIKI-2022, you should look at it and add yours.
Someone interrested in working on this with me ?
-- Thibaut Camberlin Project Manager XWiki _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost