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…

How to Add Random Post Widget to blogger Blogs

Instead of creating new post everyday to reduce your bounce rate, many respected bloggers are suggesting to sell your old posts to readers. We all know that many of our posts are useful even time passed. today I am going to make a tutorial on how to add a beautiful random post and reduce your bounce rate also to promote your older posts

Hows Random Posts.
Doesn’t add load to your page loading
Shows the Name Of The Author.
Shows the number of comments.
Summary Showing Enabled.
CSS Added.
Hover effect for images. Installing It On Your Blog Go to blogger > Open layout tab
Now Add A new HTML/JavaScript widgetGive any title you want [ eg: Being Viewed, Recently Viewed, Now Viewing etc. Its up to you. ].
Now paste the code given below :  <style type="text/css"> .recent_post_content{width:100%;} .recent_post_content_item {filter: alpha(opacity=80);opacity: 0.8;} .recent_post_content img {width:45px;height:45px;background-position: center;margin:7px;padding: 2px;border:#888 solid th…

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…