Improve page loading times
--------------------------
Key: XWIKI-2022
URL: http://jira.xwiki.org/jira/browse/XWIKI-2022
Project: XWiki Platform
Issue Type: Improvement
Components: Templates, Skins & User Interface
Affects Versions: 1.2
Reporter: Vincent Massol
Over time the xwiki skins in general have added JS, CSS, images. This is making
xwiki pages slow to load as shown by YSlow (see attached image).
What we should do:
* Reduce the number of JS to load by moving out JS that are not needed for all
pages so that they are loaded on demand
* GZip all HTTP response contents
* Modify the build to automatically merge all CSS and JS files together in a
single file (see
http://aciddrop.com/2008/01/03/automatically-join-your-javascript-and-css-into-a-single-file/)
* Add expire headers. We need to be careful with this and probably do what
yahoo recommends: modify the file names when they change so that clients get
the newer versions. Otherwise they'll need to remember to refresh their caches.
This can be automated in the build and should be pretty easy especially if we
merge all files into a single one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications