1 Reply Latest reply on Nov 14, 2007 8:10 PM by sergeysmirnov

    code compression

    jmiguel77

      Hi all:

      is there any way to compress the css / js code of the generated files of the richfaces / a4j framework ??

      i must comply with some requirements of my client about the size of the pages associated to the application

      thanks a lot

        • 1. Re: code compression

          If you have no org.ajax4jsf.COMPRESS_SCRIPT set to false in the web.xml, the scripts are compressed by default. More advanced compressed features for css and javascript are scheduled on 3.2.0

          Note, that css and javascript files generated by richfaces are cached. So, they does not loaded each time, but only once per several days.