About the efficiency of the external file link server connection / cdn connection method

Asked 2 years ago, Updated 2 years ago, 122 views

I have a question while developing the web.

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">

As above, when linking external files such as js files or css files, I wonder whether you prefer downloading and connecting files to the server or connecting them to cdn files on cdnjs or official sites.

What are the advantages/disadvantages of the reason you answered in number 1?

I'm a beginner, so I'd like to ask you a detailed question.

Thank you.

cdn

2022-09-22 15:00

1 Answers

I don't know which one I prefer, but... I'm uploading it because there's a simple article to look at. Number 1 is a translated text, and number 2 is an original text, so it's English. And since neither of them is up-to-date, there might be changed information.

[1] 7 reasons to use CDN

[2] 7 reasons for not using CDN


2022-09-22 15:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.