Skip to main content

How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time

How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Most of the blog affected for loading time. If you use several JavaScript or CSS file to make your blog beautiful then your blog will be slower and if your avoid then your blog will be less attractive. There are almost 80% highly designed blog affected by this issue. I was personally victim of this kinds of problem but finally got a way to overcome from this issue. We can speed up our blog loading by simply combine all CSS (Cascading Style Sheet) and JavaScript file. So today I am going to share a tutorial
that how we can combine CSS and JavaScript file  and host it into Google Drive. You can host your file to another hosting service like Dropbox, yourjavascript and many more but you should choose Google drive for several beneficial reasons. 

The most benefits of using Google Drive
  • Hosting Service is absolutely free
  • 15 GB Hosting Space
  • 99.99% Uptime with unlimited bandwidth
  • You can make your file Private and Public
  • Google Drive provide you 100% secured place for hosting file.
                                              
So for combining CSS And JavaScript File in Google Drive to Speed up the Blog loading Time just follow the below steps
Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard
Step 2 Click on  Now click on -> Template -> Edit HTML-> Unfold code  
Step 3 Now Find this code <b:skin><![CDATA[ by Pressing  Ctrl + F
Step 4 Now Copy the all CSS and JavaScript code between <b:skin><![CDATA[ .............  ]]></b:skin> and Save the templates. 

For Example see the below code of my template
<b:skin><![CDATA[
/*-----------------------------------------------
Theblogger911 Template Style
Name: Theblogger911 Template
Date: June 20, 2013
Author: Garywal Lacapag
URL: http://theblogger911.blogspot.com/
----------------------------------------------- */
/* Variable definitions
====================
<Variable name="bgcolor" description="Page Background Color"
type="color" default="#fff" value="#ffffff">
<Variable name="textcolor" description="Text Color"
.....................................................................................
]]></b:skin>
Step 5 Now Paste the all code in a Notepad and Save it as Style.css (Here Style is File name and .css is file extension).
Step 6 Now Go to https://drive.google.com/‎ and sign in to enter into account and it will redirect to Google Drive Page.
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 7 Now click on Create-> Folder-> from top left corner and give the folder name.
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
And see your new Folder Has created
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 8  Now Click on New Folder to enter into folder and click on Upload Button -> Files
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
And select your Style.css file from your Computer Hard Drive for Upload which one you were created 
on Step 5. 
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 9   And Click on Start Upload Button and It will finish uploading within 2 or 3 seconds
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 10 Now Click On Share from right side of popup box and it will show like below image. And 
Copy the shared code and paste it in a Notepad.
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 11  You have to make your CSS file Public. So Click on Change and a Popup window will 
appear and Select Public On the Web and hit the save button.
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 12  In this step you have to make little change of the code. Your sharing code will be like below
https://docs.google.com/file/d/0B9kc_Su2qRHNcm5zQzZyMzBXWE0/edit?usp=sharing
and you have to change it to like below code
https://googledrive.com/host/0B9kc_Su2qRHNcm5zQzZyMzBXWE0
Step 13  In final step you have to make ready to use this code into your blogger template
<link href='https://googledrive.com/host/Converted Shared code' rel='stylesheet'/>
For Example---
<link href=' https://googledrive.com/host/0B9kc_Su2qRHNcm5zQzZyMzBXWE0' rel='stylesheet'/>
How to add the code into your Blogger template
Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard
Step 2 Click on  Now click on -> Template -> Edit HTML->
Step 3 Now Find this code <Head> by Pressing  Ctrl + F and Paste the code above
<Head>
How To Upload CSS And JavaScript File in Google Drive to Speed up the Blog loading Time
Step 4 Now Delete all CSS and JavaScript code between <b:skin><![CDATA[ .............  ]]> </b:skin> and Save the templates.
Hope this tutorial will help you to combine your all CSS and JavaScript file that will increase blog loading time. On the other hand, If you want to hide your blog designing code from others you can use this trick. Because  a visitor can easily can see the page source by clicking on right button of mouse. But If you combine the all CSS script and host it to Google Drive then majority people won't able to see the code. It can reduce coping and your blog will be neat and clean.

Congrats You've Done it right.
Subscribe for more Tutorials.

Comments

  1. Appreciating the time and energy you put into your blog and detailed information you present. It’s good to come across a blog every once in a while that isn’t the same out of date rehashed material. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to my Google account.
    website design

    ReplyDelete
  2. hi, what about between head and head?
    I thought is is also CSS....

    please let me know

    ReplyDelete

Post a Comment

Popular posts from this blog

How To Add HTML Contact Form for Blogger Blogs

Our problem in creating a contact form is that you don't want third party contact form cause it will burden your loading page and if you want to give your reader an instant contact form but don't want to show your email, this HTML form will help you with your problem

You can create a simple form, as displayed below, to enable your visitors to send you comments, questions or whatever you'd like.

1.Log in to your dashboard--> layout

2.Click on "Add a Gadget".

Now Select "HTML/Java Sricpt"

3.Copy and Paste below code into it.
<FORM action="mailto:[email protected]" method="post" enctype="text/plain"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="90%"><TR><TD width="30%"><DIV align="right"><B>Name:</B></DIV></TD><TD width="70%"><INPUT type="text" name="name" s…

High PageRank Do-Follow Forums List (606)

Besides from getting your answers to unanswerable queries, the good thing of do-follow forums is to create a good back links through their High Page rank pages on Google, creating your pointing to your site makes your blog grows faster in ranking,

Now a days it is very hard to find do-follow link website because they are making their site as no-follow, like the wiki, it is before a do-follow site but since many SEO experts use wiki as spam they control it and made it no-follow, so now I am giving you a list of do-follow and high ranking sites that you can use to make your blog popular.

Its your tactics on how to create your links on this site, but remember not to spam cause Google might hit you. :)

Here are the list enjoy

ForumPR1http://www.addthis.com/forum92http://chronicle.com/forums/83http://forums.myspace.com/84http://forum.joomla.org85http://forums.cpanel.net86http://forum.siteground.com87http://c7y-bb.phparchitect.com88http://forum.meebo.com89http://forums.mysql.com/710http://f…

How to Use Facebook, Disqus and Blogger Comment tab Together in Blogger Blogs

As writers of  blogs, we all are aware of the importance of comments. While it is true that some blogs/websites tend to disable comments entirely, those are special instances where the websites do not essentially require comments. However, in general, comments form an integral part of any blog, be it a personal one or a magazine site. After all, what good is any info unless it provokes a healthy discussion?

All blogging platforms (including WordPress) come with native support for some sort of comment mechanism which seems to suffice for most bloggers. But sometimes, users may require some dedicated or specialized comment mechanism. This is where third-party commenting systems come in handy. In this article, we will take a look at some of the major third-party commenting mechanisms

Disqus
Disqus is a mature comment management system and perhaps the most used amongst bloggers and website owners. Introduced back in 2007, it is currently serving more than 750,000 websites. According to a …