README 581 B

123456789101112131415
  1. The default OpenLayers.js file, minified, weighs in at a whopping 943kb uncompressed.
  2. With gzip compression it's still over 200kb, so we're building a stripped-down copy
  3. with just what we need.
  4. Docs on how the stripping process works:
  5. http://docs.openlayers.org/library/deploying.html
  6. To recreate this OpenLayers.js file:
  7. # get yui-compressor (install from apt, or set up a shell script or alias to the jar)
  8. # download and decompress OpenLayers-2.10 zip or tgz
  9. make clean && make
  10. If necessary, change the relative path to the OpenLayers source directory in the Makefile.