Depends. When you gzip a file yourself, you don't usually have to configure anything in your web server. Just make sure that it is passing the right mime type with the download.

But as some (really old!) browsers have difficulties uncompressing files, if you want to cater for them too, you can configure your web server to compress files on the fly for certain clients, and leave them as they are for others. And, yes, this requires setting things up on the web server.

T.

On 04/16/2012 12:01 PM, Ernesto Napoli wrote:

hi


I have to setup the webserver for gzip ?

thanks


2012/4/15 thron7 <[email protected] <mailto:[email protected]>>

    Ernesto,


    On 04/15/2012 04:08 PM, Ernesto Napoli wrote:

        5) D:\qooxdoo\workspace\inlineApp\generate.py build

        the size of inlineapp.js   is  677 KB  why?


    This is not unusual. Even a simple application includes the
    general qooxdoo infrastructure for the OO system, with classes,
    mixin, interfaces, properties and the event system. So tiny "Hello
    world"-style applications are paying the overhead of this
    infrastructure. But with your app growing the fraction of this
    infrastructure of the final app is declining.



        I use only one button , how can reduce  js file ?


    A simple and straight-forward way of reducing the download size of
    your app is using gzip. You can enable it directly in your
    config.json, by setting compile-options/paths/gzip:true for the
    "build-script" job.


        where I wrong ?


    Nothing wrong on your side.

    T.


    
------------------------------------------------------------------------------
    For Developers, A Lot Can Happen In A Second.
    Boundary is the first to Know...and Tell You.
    Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
    http://p.sf.net/sfu/Boundary-d2dvs2
    _______________________________________________
    qooxdoo-devel mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2


_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to