Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is a CDN (content delivery network)? what are the advantages of using CDN to load a jquery lib over loading it locally into your web page?

user-image
Question ajoutée par Rashid Anwar , senior php developer , sparx it solution pvt ltd.
Date de publication: 2013/09/23
Fadi Alkhateeb
par Fadi Alkhateeb , Senior Front End Developer , NexTwo

A large distributed system of servers that exist in different geographic locations with copies of data, once user request a data he will get it from the nearest server to him instead of having this data from the main server which help in serving with high availability and high performance and reduce the delay.

Wikipedia - Content delivery network

 

 

 

 

 

Mohammad Ali Akmal
par Mohammad Ali Akmal , Solo Freelance Web Developer , Freelance - Self Employed

It makes sense to use a CDN for largely static content - namely your server would be relieved of having to load the jquery files on every page request. All static consistant content like images, sounds files, javascript libraries and css libraries etc is best hosted via a CDN - this would basically help speed up your site.

Fouzi Bentounsi
par Fouzi Bentounsi , A technical project manager , Pyxicom

CDN :

  • it's a best think to optimize a time response of medias (Javascript, CSS, images...) .
  • We can attach a subdomain CDN to a local directory for example "/images", so, in a request, we should change the url and use the specific Domain/Subdomain CDN.
  • The domain/subdomain CDN points to a specifics powerful Servers, with a cache system and call the nearest server of user

 

Utilisateur supprimé
par Utilisateur supprimé

Basm allah alrahman alrahim

 

same answers in this link

 

 

 

|webD

irfan shaikh
par irfan shaikh , Consultant : Senior Web Designer/Front end Developer , Client : ● Impact Proximity, Dubai ● Cube Solution, Dubai ● WAC, Sharjha ● KIOEC, Kuwait ● IRIS Ltd.

It is a network of distributed system of server located all over the internet.

content serve to end-users with maximum availability and high performance. It provide large fraction of the Internet content like web objects, downloadable media files, software, e-com applications live streaming on-demand video, and social networks.

The benefit of loading JS library from CDN is that it make sure that you always get the latest version of JS lib file also user don't need to load JS file each time they request becz most of the time it will already in users browser cache that have already loaded from CDN for other website.

Kaustav Banerjee
par Kaustav Banerjee , Associate Software Engineer , AuricleSoft

A CDN is form of cache memory basically. Your operating systems caches the recently used data from the hard disk. This is because accessing the hard disk each time reduces speed.

Similarly, a CDN caches most used resources of a webpage. This can be jquery files, css files or even image or video files. In this way, if your server is in a remote place; your page load is not hampered because users load your page from the local CDN.

The CDN company normally have several server sources around the world. Your webdata is cached and copies are spread aorund the world. Any user who loads your website gets its from the nearest point.

So, it's a great idea to have CDN implemented in your website. Google's SEO update says that faster websites rank higher in web searches. 

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?