Ticket #2925 (closed feature: fixed)
Some remarks about #2900: Add Google's closure compiler to build tools
|Reported by:||fbuchinger||Owned by:|
Here are some remarks I have about #2900 - sorry for the duplication but depite being logged in I was unable to comment on it.
First of all, I think integrating Google's closure compiler in the OpenLayers build script is a good idea. I ran the closure compiler with simple optimization on a custom OpenLayers build (already jsmin'ed) and benefited from a ~25% reduction in filesize (jsmin: 434 kb, google: 348 kb).
However, I stumpled upon the following caveats:
+ regarding pwd's attached python script: I would implement the web service communication using urllib2.urlopen() instead of httplib. urllib2 automatically figures out whether you have a proxy configured, while using a proxy with httplib seems to be more cumbersome.