1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Other jServer v2.05

Discussion in 'B4J Questions' started by Erel, May 25, 2014.

  1. Erel

    Erel Administrator Staff Member Licensed User

    Attached Files:

    Last edited: Feb 19, 2016
  2. billzhan

    billzhan Active Member Licensed User

    Erel,

    It works great.

    Attached the demo with gzip and maxage.

    Size of jquery-1.11.0.js is 277kb , after minified by google closure tool is 95kb. Then gzip it, the final size is 34kb.

    Code:
    'google closure command line
    java -jar compiler.jar --js jquery-1.11.0.js    --js_output_file jquery.min-1.11.0.js

    ' gzip command line
    gzip -9 jquery.min-1.11.0.js

    Thanks,
    bz
     

    Attached Files:

    Erel likes this.
  3. AscySoft

    AscySoft Active Member Licensed User

    I am confuse. Why this lib only gets updated if installed in default Libraries from b4j (from program files etc) and not on additional folder?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Good question. The internal libraries folder has higher priority over the additional libraries folder. As jServer library is included in the IDE installation you need to replace it in the internal libraries folder.
     
  5. AscySoft

    AscySoft Active Member Licensed User

    I see. Perhaps a list with built in libs included in the b4j IDE installation would help; or at least a text indicating "this is a internal lib etc."
     
  6. avacondios

    avacondios Active Member Licensed User

    Hi Erel,

    How can I read the default values for all the parameters of staticFilesOptions ?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice