0 Replies Latest reply on Nov 8, 2010 7:55 PM by michaelschuetz

    GateIn and RichFaces: Configuration of Cache-Level

    michaelschuetz

      Hi,

       

      this is how a resource will be loaded currently in my GateIn3.1/AS5.1 + RichFaces3.3 + Seam2.2 app:

      http://localhost:8080/myportal/private/classic/home?portal:componentId=76ca80bf-97c0-49f2-9ebc-e3a727ae130f&portal:type=resource&portal:resourceID=/org.rf.res/org/ajax4jsf/framework.pack.js&portal:cacheLevel=PAGE&portal:windowState=normal&portal:portletMode=view

       

      The link above contains "cacheLevel=PAGE". That's not my expected resource loading behavior (CSS, JS,..).

       

      How could I influence this cache level? Is this either a RichFaces or plain portal configuration?

       

      Is there a known issue with the RichFaces All load strategy?

       

       

      {code}

      <context-param>
           <param-name>org.richfaces.LoadStyleStrategy</param-name>

           <param-value>ALL</param-value>

      </context-param>


      <context-param>

           <param-name>org.richfaces.LoadScriptStrategy</param-name>

           <param-value>ALL</param-value>

      </context-param>

      {code}

       

      This posts relates to: http://community.jboss.org/message/543443

       

      BTW, I do appreciate any hints on improving GateIn runtime performance in general, as I found no wiki page on that.

       

       

      Thanks for any help

      Michael