MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

jQuery Implementation with CDN: An jQuery for Beginners

In this blog, you are going to learn how we will implement jQuery with CDN.

In the previous blog, we had said that we implement jQuery in three steps, in the first step we download the jQuery, so here we are going to talk about that we will not download the jQuery by applying it via CDN path….

What is CDN Path

Example of loading jQuery from a CDN path instead of a downloaded local file

CDN is the full name of the content delivery network. It is understood in a little detail, suppose you have a visitor to your website and he requested the server to open the website and let me open your website. , Gives CSS and images, and with this, we saw in the previous blog that I have put jQuery, so every time jQuery also gives, in return
And mind you have one thousand visitors at a time, then the load will increase every time on the server because it has to provide images, HTML, CSS and JQuery of 30 – 60 KB each time,

Diagram of one server sending HTML, CSS, images and the jQuery file to many visitors

So here there is a solution that when we fetch JQuery file from another server when we fetch it from another server, the load of the server increases because the other three things are HTML, CSS, The images are coming from a server which is its own server.
And there is another server from where the file of our jquery is coming, we call it CDN server,

This CDN server is very handy for jQuery,
On zquery.com, there are free services of CDN server and Google also offers CDN server services and even then there is a lot of company which provides CDN server for free.

You can implement jquery file by going to it.
So this whole process is what we call content delivery network

So now let’s see how to implement it practically

HTML code including a locally downloaded jQuery file with a script tag
On this, we downloaded the file of the jQuery and planted

How to implement jQuery CDN path

For this, we have to first go to jquery.com and then click on download.

Jquery.com homepage with the Download jQuery button

As soon as we scroll down, we will have to go to jQuery with a CDN and click on https://code.jquery.com.

JQuery download page section on using jQuery with a CDN, linking to code.jquery.com

After clicking on https://code.jquery.com we are getting three types of path.

  • jQuery 3.x
  • jQuery 2.x
  • jQuery 1.x

If you want to sport your old browser like –
In Internet Explorer, ६ ७ ८ want to download jQuery 1.x and Virsen jQuery 2.x.
But if you want to create a website that can only see your website on a new browser, then you can download the jQuery 3.x version

on click minified

Code.jquery.com page listing jQuery 3.x, 2.x and 1.x with minified links

Copy <script> and paste your code

Code integrity popup with the jQuery 3.x minified CDN script tag to copy

Example:

HTML example with the jQuery CDN script tag pasted into the page code

result

Browser output of the example page running jQuery loaded from the CDN

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Building Scalable OTT Platforms: Architecture, Challenges, and Best Practices

OTT Streaming has revolutionized consumer consumption of media in the current generation. Videos ranging from movies, live sports, documentaries, and entertainment have found themselves on the OTT…

Read More

Top 10 DDoS Protection Tools: Features, Pros, Cons & Comparison

Introduction Distributed Denial of Service (DDoS) attacks are one of the most disruptive and costly cyber threats faced by organizations today. A DDoS attack works by overwhelming…

Read More

Understanding Why Websites Sometimes Load as a Blank Screen

This article examines the specific reasons websites occasionally present a blank screen to users. It outlines the main technical causes and provides an overview of common diagnostic…

Read More

Magento Website Audit Checklist: Improve Store Performance

A slow or insecure Magento store quietly bleeds revenue. Research from Google shows that a one-second delay in page load time can drop conversion rates by up…

Read More

Why DevOps Teams Should Treat Website Performance as a First-Class Concern: The Impact on System Reliability and User Trust

Website performance isn’t just about speed for its own sake – it hits user retention, conversion rates, and revenue right where it hurts. Yet, a lot of…

Read More

The Top 7 Features of Elementor’s Managed WordPress Hosting Plans

In the market of WordPress hosting service providers, they constantly give specifications like bandwidth, storage and vague assurances regarding “blazing speed.” Business and professionals alike find it…

Read More