3 Replies Latest reply on Apr 26, 2010 4:10 PM by Dean Hiller

    facelets view on seam is so slow on startup

    Dean Hiller Expert

      The first page we hit can take 16 seconds  because of these

      2010-04-09 16:20:24,600 INFO  [facelets.compiler] (http- [player][session:BKpg__][OP1998] Added Library from: vfszip:/home/jboss/jboss/server/all/deploy/portal2.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jsf-html.taglib.xml
      2010-04-09 16:20:24,630 INFO  [facelets.compiler] (http- [player][session:BKpg__][OP1998] Added Library from: vfszip:/home/jboss/jboss/server/all/deploy/portal2.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jsf-ui.taglib.xml

      Any way to pre-compile or something here on startup?  With jsp, we just had a compiled servlet.

      In our environment, we bring up the server, we want this compilation before the server is live so our first agent is not hitting a 16 second page load.  Our agents our live on the phone with the customer and need to read scripts from our application....I am sure customers don't want to wait 16 seconds(even though it is just the first customer we hit after startup, I would still like to solve this like jsp had it solved)