Details
-
Improvement
-
Resolution: Invalid
-
Major
-
None
-
1.2
Description
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
Attachments
Issue Links
- depends on
-
XWIKI-6480 Concatinate always used scripts together and serve in single file.
- Open
- is related to
-
XWIKI-6073 Browsers usually cache JS/CSS resources even if they have changed
- Closed
- relates to
-
XWIKI-1642 Stylesheets are loaded twice
- Closed
-
XWIKI-9046 Renaming a document holding a lot of revisions can lead to an OutOfMemory exception
- Closed
-
XWIKI-3177 Move some javascript includes to conditional thanks to skinx plugin
- Closed
-
XWIKI-494 the skin on the filesystem, should not send no-cache on the header
- Closed
-
XWIKI-4183 Improve page load speeds via parallel JavaScript download
- Closed