Affects Version/s: 1.2
Fix Version/s: None
Component/s: Web - Templates & Resources
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
- 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