[ http://jira.xwiki.org/jira/browse/XWIKI-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_21861 ]
Vincent Massol commented on XWIKI-2022: --------------------------------------- It also seems that for some reason the style.css file is loaded twice for each page invocation. Need to find out why and remove the second loading. > 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 > Fix For: 1.3 M1 > > Attachments: yslow.png > > > 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. > * Minify CSS and JS files -- 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 notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications