[OpenLayers-Users] Compressed Open Layers

Tom (JDi Solutions) tom.dean at jdi-solutions.co.uk
Fri Aug 10 09:12:34 EDT 2007


Andrea,

no I hadn't but I will.  We're using Apache but I'm sure that will have
something.  I'm still interested to know if the original file can be made
smaller though as there's clearly loads in it that I don't need.

cheers,

Tom

On 8/10/07, Andrea Aime <aaime at openplans.org> wrote:
>
> Tom (JDi Solutions) ha scritto:
> > Hi all,
> >
> > I'm currently experimenting with compressing OpenLayers and have been
> > running build.py to create a compressed version of the library, however
> > the smallest version I seem to be able to make is 220K ...
>
> Tom,
> have you considered making your web server compress on the fly the
> generated js file using gzip compression (as supported by the http
> standard)? This should get the bytes actually moving over then net
> down to less than 50kb if my memory serves me right.
> On the "GeoServer in production" wiki page we have some hints on
> how to activate that compression for Tomcat, each server has
> its own way.
>
> Cheers
> Andrea
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070810/dfc5a1a2/attachment.html


More information about the Users mailing list