News for hackers. Stuff that matters.
Re:Cdnjs - the missing cdn by jsdalton on Tuesday August 21, 2012 @12:20PM (#4413380)
What's the policy on previous versions of libraries?

I noticed, for example, that only the latest version (3.1) of the jQuery plugin Nivo Slider is available. The last versions (<= 3.0.1) are returning 404s.

Given that the previous version was released in May 2012 that's an insanely fast deprecation policy for a CDN.

I have to guess that either I've stumbled upon a bug or minor oversight in this case, because I can't see how removing old versions that quickly would be at all a workable solution for 99% of use cases...

Re:Cdnjs - the missing cdn by jonny_eh on Tuesday August 21, 2012 @12:42PM (#4413473)
Maybe they'll only support version that were released from the date that library was added to the CDN. In other words, hopefully once a library+version are added to the CDN, it's supported for a long long time.
Re:Cdnjs - the missing cdn by jsdalton on Tuesday August 21, 2012 @01:12PM (#4413606)
Yes, I think you are correct.

Digging deeper, I see that libraries are added via pull request and that the Nivo Slider library was added 11 days ago. Other libraries that have been there longer (such as jQuery) continue to have old versions.

Re:Cdnjs - the missing cdn by ryankirkman on Tuesday August 21, 2012 @05:04PM (#4414771)
We'll host any version of any library. It's just that no one typically adds versions of libraries older than we currently host.
Re:Cdnjs - the missing cdn by ryankirkman on Tuesday August 21, 2012 @07:23PM (#4415310)
Once a library is hosted it stays hosted forever.