[OpenLayers-Dev] Re: ship only with minimal build for 2.12

Peter Robins openlayers at peterrobins.co.uk
Sat Mar 31 08:27:44 EDT 2012

On 27 March 2012 10:00, Peter Robins <openlayers at peterrobins.co.uk> wrote:
> On 1 March 2012 21:43, Tim Schaub <tschaub at opengeo.org> wrote:
>> Also see http://www.cdnjs.com/
>> Vote here if you like the idea.
>> http://cdnjs.uservoice.com/forums/98277-general/suggestions/1526439-openlayers-org?utm_campaign=Widgets&utm_medium=widget&utm_source=cdnjs.uservoice.com
>> I don't have experience with cdnjs, so I can't comment on how it would
>> compare to other alternatives.
> they have just added 2.11 to their cdn
> http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.11/OpenLayers.js

the obvious snag with this is there is no theme. They are planning on
adding css, and there's some discussion on what to do with images in
regard to jquery ui's themes https://github.com/cdnjs/cdncss/issues/4

In OL's case the theme is useless without the images, and if you have
to host the theme somewhere else, that reduces the usefulness of
having the js on the cdn.

More information about the Dev mailing list