Skip to content

Google Drive as Free CDN?

Last updated on February 16, 2018

CDN stands for Content Delivery Network. The goal of a CDN is to serve content to end-users with high availability and high performance.Which will deliver the files from the nearest server based on the geographic locations of the user? There are free and paid CDNS are available in the market(EX: Cloudflare for Free, MaxCDN for paid).

Here I am going to show, How to use Google Drive Site Publishing Feature?

As we already knew Google has several servers across the globe, so we can ensure that file delivery by Google servers is much faster than shared hosting.So I would like to suggest you, Host your static files on Google driver and save your bandwidth apart from this, enjoy the page speed.Faster page loading will improve your site ranking in Google search engine(Google considers the website speed for rankings).

Login in to your gmail and access you Google drive and create a folder. I have named the folder arjunphp .once created the folder right click on it , from the list of options select Share >> Advanced(in the new modal) >> Change(in the new modal) >> on - public on the web option.

Now ‘arjunphp’ is my CDN folder, it can accessible with out login, but you need folder ID ,you can grab it form the URL,
, Here ‘0Bw3I85L3lyM0fk5oQ05TWGc4dkFBY0REcUFPaGd3WVpBcjVZMERQN1d5M0FaYjQzV3h5Z2M’ is folder ID.

Now upload your files to your CDN folder , and access it as shown below[FolderID]/path/to/file.type

That is it.

0 0 votes
Article Rating
Notify of

Most Voted
Newest Oldest
Inline Feedbacks
View all comments