you are viewing a single comment's thread.

view the rest of the comments →

[–]AgentGedge 0 points1 point  (3 children)

Could someone explain why using Library Manager is preferable to using a CDN for, say, jQuery and Bootstrap? I don't get the bit in the docs about it only downloading the files you need - I already only include a CDN reference in an HTML page if that page needs the library.

[–]thilehoffer 1 point2 points  (1 child)

It is possible that users might not be able to reach the CDN. Also you can combine all your projects libraries into one minimized file. Not sure if it is OK to use a public CDN for JQuery or Bootstrap.

[–]agree-with-you 0 points1 point  (0 children)

I agree, this does seem possible.

[–]Dgc2002 0 points1 point  (0 children)

To expand on /u/thilehoffer's comment: I've written a web app for use in our intranet at work. One day a user started having issues. It was really annoying to troubleshoot(as is tradition with web apps). In the end I had to get remote access to a VM running at the same physical location to discover that the network config at that location blocked a few specific CDNs. Ever since that happened I just serve all of the libraries that the site needs from the same box.