Coping with the Google Code Blog Loading(java script host)
Kali, I will provide a solution or a solution for those who have problems with loading the blog is quite heavy. Loading or the opening of a program to be one of the important factors for the operation of a system. Likewise with loading a blog, if it is too heavy it will make the performance of a blog that we manage to be difficult to develop because visitors would be reduced. A visitor does not want to wait too long to browse or article to read. They prefer to visit a blog that quickly open process, in addition to more efficient time, it may also cost less if they have to pay for an internet connection.
Blogs that I discuss here is the blogspot, blog platfrom blogger loading speed is only dependent on how much we insert script code into the template but with the assumption that the speed of Internet connection used together. Differences with WordPress or other blogging platforms that use self hosting, blog speed also depends on the type and capacity of hosting was wearing. Generally, blogs are usually wear heavy loading magazine template type as I often do, because a lot of the features are posted on the homepage.Actually, from Google itself also suggested that blog loading faster, at least there are only 9 posts on the homepage. But because of the growing blogger, this blog platform can now be further developed so as to resemble the form of professional blogs like other platforms with the consequence that the slower loading blog.
For users of blogger, I will provide a logical solution to increase the performance speed of loading your blog, especially for those users magazine style template. If you're using a template by using a lot of features, such as sliders, or other labels per the category of. Must have found a long script (usually placed above the code </ head> ) or a script that has been stored in the storage Google Code by the template creator.
Javascript is not yet stored in the Google Code
Let me give you an example of a script, and save your own Google code. Consider the example script below my take is simple:
<script language='javascript'> function
Note the color coded blue above, open notepad and then copy the code into notepad blue. (Blue only).Then click save as , the file name is the file name ends . js (example: contoh.js ). And in the Save as typeselect All files , Encoding let on ANSI, as shown below:
After the process of storing files on the computer now we keep on Google Code to be installed on the template. Go to your Google Code, if you've never used Google Code before, you must first create the following way:
- Log in to your Google account, then visit http://code.google.com/hosting/
- Then click Create a new project like the image above, after the new window appears blank in the box like the example shown below.
You need to consider is the filling Version control system and source code lisence , you have to fill like the example image above. For other columns can be filled up to you. After that click Create project . - You now have an account on Google Code, the next step is to store the javascript code that has been made over at Google Code. Go to the tab 'Download' and click New download . Then clickBrowse and select the file you want to upload javascript. Fill in the information related to the javascript file and then click Submit file .
- Javascript files you've uploaded to Google code. Now we just call him and placed in your template.Click the file that had been uploaded, after that it will open a new window. To get the direct link of the file you uploaded. Right click on the file name and select copy link location (firefox) or copy link address (Chrome) as shown below.
- Now how to put the direct link to the template? Notice the two pictures below:
Before being stored in the Google code
Once stored on Google codeExamine the blue block in the second image above, the image and the image has not been summarized under the code are summarized and stored in a Google Code repository like this:<Script src = " http://kauman.googlecode.com/files/contoh.js"type =" text / javascript "/>
Script code above is a summary of the code sample script code length and color of the top red is a direct link file that we upload on Google Code at step number 4 above.
Well now what if javascript file that is saved on Google Code belongs to another account? I'll give an example below:
<Script src = ' http://jamu-martin.googlecode.com/files/related-martin.js 'type =' text / javascript '/>
Javascript URL color red above should be replaced with the URL of your script from Google Code. How copy the URL into your browser as shown below:
Then press Enter on your keyboard. If it appears the save option, you can simply save the file and then upload them to your Google Code as step number 3 above. But if after press enter javascript code appearing in rows aplenty deh anyway, copy the code into notepad and save it as in the picture at top of article. After it was uploaded to Google Code as the steps above. Then enter or change the URL color redin javascript on the URL or the direct link from google code that you have uploaded.
How could you to store javascript in Google Code repository itself can alleviate blog loading?explanation like this, if you are using a template by using a lot of scripts that are stored on Google Code by the template creator, certainly not just the template you are using, certainly there are other users who use the same template. If both blogs using the same template loading at the same time will definitely feel the weight, if only two or three does not wear too felt that the template is much heavier or not loading?Besides, also in case if at any time the script template creator damaged or overload.
That was one tips to speed up your blog loading the save file on Google Code Javascript on your own, please understand and hopefully useful.
If you like the post,please share this
Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "Coping with the Google Code Blog Loading(java script host)"
Post a Comment