EzDevInfo.com

jsdelivr

A free Open Source CDN for webmasters and developers jsDelivr - Free open source CDN for javascript libraries, jQuery plugins, CSS frameworks, Fonts and more a free cdn for javascript and jquery plugins

Fixing jsDelivr "multiple files" approach that breaks CSS' image URI's

jsDelivr ( http://jsdelivr.com ) has Multiple File mode:

Problem is, libraries with CSS such as Gritter and Font Awesome use images in their interface components.

This leads to 404 errors when doing something like this:

//cdn.jsdelivr.net/g/jquery@2.1.0,bootstrap@3.1.1,summernote@0.5.0,mousewheel@3.1.6,jquery.timeago@1.3.0,jquery.gritter@1.7.4,jquery.unveiljs@1.0,jquery.waypoints@2.0.2,bootstrap.tagsinput@0.3.9,bootstrap.datepicker-fork@1.3.0,jquery.jqote2@0.9.8,portal@1.1.1

enter image description here

How can we use multiple libraries off the one CDN pageload, but change the paths CSS files reference to use the appropriate jsDeliver.net URI?

Is this a job for post-processing CSS in-browser, by jQuery or pure JavaScript, or is one forever doomed to one CDN pageload per CSS file referencing images, plus one remaining pageload for the CDN served CSS without image references?


Source: (StackOverflow)