+ 1
CDN
What is CDN ? Can we use bootstrap by cdn at offline ? How does it work?
5 Answers
+ 7
Shahriar Kamal Nafiz Visit this link,
A link to aĀ CDNĀ file won'tĀ workĀ if you're offline.
https://getbootstrap.com/docs/3.3/getting-started/
example code of boostrap 
https://code.sololearn.com/W7USgQQHEM0d/?ref=app
+ 2
CDN meant Content Delivery Network
CDN is a way to deliver content from server to your website user
Let's take an example of bootstrap:
You created your website and download bootstrap required files than you hosted it in your server
When any user came to your website their browser request you bootstrap files in your server and your server will give them file as a response.
It's only a user requested a file so your server given him quickly but if there are many visitors come to your site at a time then your server have to send bootstrap file to all of them which make your server slow
So CDN is a service where you can host your file and give when any requests come and your server will not get loaded
Go to bootstrap cdn link where you find the codes copy all those code and save it to file with file_name.extension respectively to extension you copied
CDN IS A PLACE WHERE YOUR FILE HOSTED LIKE A NORMAL SERVER WHERE ANYONE CAN GET THEM
I am not good explainer but
HOPE IT WILL CLEAR YOUR DOUBT
HAPPY coading āŗļø
+ 1
No.
CDN means an online resources host with scalability. You cannot use a CDN when you are offline.
But, in development, you can download the resources file to your project directory, and use relatively path to import the CSS or JS file.
But then, in production, switch back to using CDN, to reduce server burden.
0
CDN links  are useful  when  you  can not  download  library  or framework. 
On sololearn,  there is only  one way to use css  libraries  or javascript  libraries  or  javascript  frameworks is by using  cdn. 
There  is a website  called  cdnjs.com.  Which  will give  you  most  of cdn links.
The down side  of  cdn link is you  can  not  use them in offline  mode. 
In production,  I will not rely  on any cdn for serving  my resources.  Instead  I will keep  all my resources  on server.
0
Nohow. Either you connect cdn for your site online. Either you download boitstrap







