Hi Thibaul, all
Something easy to do that would contribute to reduce the number of CSS
files is to concatenate all the WYSIWYG CSS files from the various
plugins at build time (there are more than 10 AFAIK). Marius, have you
looked into this? Do you know if this could be done in the 2.1 timeframe ?
Note that the target of 1 CSS and 1 JS is pretty challenging for XWiki
as we are also making it a modular software where CSS and JS extensions
can be conditionally loaded on some (not all) of the pages. Something to
investigate for JavaScript extensions could be a dynamic JS loading
mecanism, a la dojo
(
http://dojocampus.org/content/2008/10/09/dojo-module-packaging-and-loading/)
Jerome.
PS: I put devs in copy as this is more a developer topic.
On 11/5/09 5:28 PM, Thibaut Camberlin 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…
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)
Someone interrested in working on this with me ?