1 Reply Latest reply on Jun 23, 2009 5:43 AM by Nick Belaevski

    Performance: Push JS includes to the bottom, and combine CSS

    Ashish Tonse Newbie

      I'm doing a lot of performance tuning for our Seam application and a big bottleneck in page load time is because framework.pack.js and ui.pack.js are right at the top of the page, holding up downloads of css and images for a full 300-400ms (often longer). Also there are 3 RichFaces css files being downloaded instead of just one.

      Is there any way of moving the includes of those two JS files to the bottom so they don't block CSS downloads? And is there a way to combine all the CSS into one file that has a cache lifetime? (So browsers would get a 304 Not Modified) for the combined file.

      Thanks in advance.