Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: Web - Templates & Resources
-
Labels:
-
Similar issues:
XWIKI-4183Improve page load speeds via parallel JavaScript download XWIKI-1990Pages take ~30 seconds to load when enabling pipelining in fasterfox XWIKI-4630WYSIWYG doesn't load XWIKI-6454Activity Stream needs certain indexes set on the database in order to improve performace XWIKI-1794Improve panel printing in page. XWIKI-1750Edit locking and unlocking might halt page loading XWIKI-9046 Improve document save performance by not loading the full history XWIKI-6480 Concatinate always used scripts together and serve in single file. XWIKI-7001WYSIWYG does not load in IE9 XWIKI-8720Translation document loaded several time at startup
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
Issue Links
- depends on
-
XWIKI-6480
Concatinate always used scripts together and serve in single file.
-
- is related to
-
XWIKI-6073
Change stylesheet and javascript extension filename when a modification is done on those
-
- relates to
-
XWIKI-1642
Stylesheets are loaded twice
-
-
XWIKI-3177
Move some javascript includes to conditional thanks to skinx plugin
-
-
XWIKI-9046
Improve document save performance by not loading the full history
-
-
XWIKI-494
the skin on the filesystem, should not send no-cache on the header
-
-
XWIKI-4183
Improve page load speeds via parallel JavaScript download
-
I'm scheduling for 1.3M1 for now even though I'm not sure who'll have the time to work on this. It's quite an important issue though hence the move to 1.3M1.