Category Archives: Techbeamers

Speed up Website Performance in 10 Minutes Without Any Plugin

Is any one here who is not ready to speed up website Performance he owns or doesn’t give a damn about it. Surely there won’t be any and believe every website owner can do this in just 10 minutes. Also we are sure that you would already have tried many performance plugins but still not satisfied. Then you won’t regret reading this post as we camp up with 7 unique and plugin-free techniques to improve website performance.

Next you would agree that quick rendering and lower load time are the two most critical factors for any website. We today are sharing 7 express methods to let you reduce load time of your site by 20% and quicken rendering by 5-7%. The uniqueness of the subject is that no WordPress plugins are being used here. Even then these methods are proved extremely effective and easy to apply. We’ve tested these methods on multiple friends sites and observed significant improvements. That’s why we decided to group these methods and prepared to share with you. But before we start, lets understand the subject more closely.

Why is Website Performance Significant?

Website Performance or site optimisation simply means to speed up website by quick loading and rendering of its pages in user’s web browser. To observe its importance, let’s refer a research done by the Microsoft Bing search team. They clearly mentions the impact of just a 2-second delay in web page loading.

  • Resulted in reduced user’s satisfaction by 3.8%.
  • Added up a loss in revenue per user by 4.3%.
  • And cut down the no. of clicks by 4.3%.

If your site load time is high, most likely people will leave, and you’ll loose business. Not only that, Google has also considered site speed as one of the factor in its ranking algorithm.

How to Determine Your Website Performance?

Experiment with any of the following website performance monitoring methods.

Tips to Speed up Website Performance in 10 Minutes

Speed up Website Performance.

1. Speed up Website by Enabling Browser Caching.

To apply this method, you’ll need to connect to your website using FTP. Via FTP, you can access all your website  files. Next locate your .htaccess file present in the root directory of your website. What we want to achieve here is turn on browser caching. Copy paste the below code in the .htaccess file and save the changes. Go back to your website and make sure it’s still functioning normally.

For your note, if you’ve SEO Yoast plugin installed, then you can also use its “File Editor” tool to edit the .htaccess file.

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/javascript "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType application/javascript "access plus 6 months"
    ExpiresByType application/x-javascript "access plus 6 months"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"

## Cache-Control Headers ##
<IfModule mod_headers.c>
    <FilesMatch "\.(js)$">
        Header set Cache-Control "max-age=2592000, private"
## Cache-Control Headers ##

read more

Selenium Tutorial – Create Java App to Find Blog Rank in Google Search Result

Welcome to the example of Blog Rank Finder application. We’ve used Selenium automation tool to create this application. Selenium is primarily used for web automation testing purpose. But virtually it can be used to implement any idea you think of around web. That’s why we’ve come up with a unique and interesting topic for Selenium tutorial. Firstly it is a perfect example of software automated testing using Selenium. Secondly it demonstrates how to leverage Selenium in filtering Google search result. And reports the rank of a blog against a keyword. We brought this idea because it is suited for software automated testing and relevant for bloggers as well.

We request readers to read it carefully as it will help them boosting their skills in software automated testing. And if you are a blogger, you can try it to find ranking of your blog for a specific keyword in Google search result. This is completely a practical Selenium tutorial which will cover all steps to create a Selenium project. Hence this Selenium tutorial is a little different from the stuff available on other websites.

What is Blog Rank or Blog Post Rank in Google Search Result?

Blog rank is the location of a blog in Google Search Result when a search is made with some keyword. It could be useful for newbie bloggers who want to see how their post is fairing in Google Search Result.

How the Blog Rank Finder application will work?

The blog rank finder application will require three inputs before it displays the blog location in Google search result.

  • Name of the blog or website which you want to check rank for.
  • The search keyword for Google search.
  • The search threshold value or the number of pages to crawl.

Let’s now watch over the steps that you should be doing to create the blog rank finder application.

Selenium Tutorial (Step#1) – Create a Java Project using Eclipse.

Start Eclipse and create a new “Java” project as shown in below screen shot.

Selenium Tutorial – Create Google page rank project_in_Eclipse

Assign project a name say “GooglePageRankFinder” and save.

Selenium Tutorial – Give Project name as GooglePageRankFinder

Selenium Tutorial (Step#2) – Add Selenium libraries (jar files) to your project.

If you already have the required libraries on your system then skip to the next sub step. Otherwise to read details on downloading and adding libraries, please visit the below URL.

List of Jar Libraries Required to Build Selenium WebDriver Project in Java

For adding libraries to the project, right click on the it and Select “Build Path>>Add Libraries” to add them.

Selenium Tutorial – Configure Build Path option to add required selenium libraries

Please refer to the snap shot given below. It will help you to select and add the libraries.

Selenium Tutorial – Select all libraries in the Lib folder in Project

For your note, we are using Firefox WebDriver in this demonstration. So you must have the Firefox browser on your system to run this application.

Selenium Tutorial (Step#3) – Add source code to the project.

So far we’ve added the libraries but there is still no source code. To add the source, please do the following sub steps.

  • Right click on the project’s “src” folder and select a “Package” to add.
  • Name the new package as “rankFinder”.
  • Next, select the “rankFinder” package and a “Class” as “PageRank”.
  • This will get the “” file created in the project.
  • Now we’ve attached the source code of the “” in the below code snippet. You just need to copy paste the source code into your “” file.
package rankFinder;

import java.util.List;
import java.util.Scanner;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;

public class PageRank {

	private static WebDriver driver = null;
	private static WebElement element = null;

	public static void main(String[] args) {

		// create a scanner so we can read the command-line input
	    Scanner scanner = new Scanner (new InputStreamReader(;

	    //  prompt user to Enter the search criteria in Google
	    System.out.print("Enter your search keyword: \n");

	    // get their input as a String
	    String keyword = scanner.nextLine();

	    // prompt user to Enter the website to search
	    System.out.print("Enter the target Website: \n");
	    // get their input as a String
	    String websiteName = scanner.nextLine();
	    // prompt user to Enter the number of pages to search
	    System.out.print("Enter Total number of pages to search: \n");

	    // get the page number as an int
	    int pageNo = scanner.nextInt();
	    driver = new FirefoxDriver();
		Boolean found = false;
		driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

		element = driver.findElement("lst-ib"));
		//element.sendKeys("Selenium WebDriver Interview questions");
		int page = 0;
		while (!found && page<=pageNo){
		List<WebElement> list = driver.findElements(By.className("_Rm"));
		for(int i=0;i<list.size();i++)
		String link = list.get(i).getText();
			System.out.println("Website Found at Page" + page);
			found = true;
			System.out.println("Website Not Found in page" + page);	
		}	*/
		}catch (Exception e)
		if (!found) {
			try {
			}catch (Exception e)
		//driver.manage().timeouts().pageLoadTimeout(100, TimeUnit.SECONDS);
	 public static void fnHighlightMe(WebDriver driver,WebElement element) throws InterruptedException{
		  //Creating JavaScriptExecuter Interface
		   JavascriptExecutor js = (JavascriptExecutor)driver;
		   js.executeScript("arguments[0].scrollIntoView();", element);
		   //for (int iCnt = 0; iCnt < 3; iCnt++) {
		      //Execute javascript
		         //js.executeScript("arguments[0].style.border='4px groove green'", element);
		   js.executeScript("arguments[0].setAttribute('style', arguments[1]);",element, "color: red; border: 3px solid red;");
		     //    js.executeScript("arguments[0].style.border=''", element);

read more

Top 7 Online Virtual Terminal for Python Coding Practice

Many times our readers inform us that they are learning Python religiously. But when it comes to Python coding practice, they find it hard to install Python. Instead they want a quick way for Python coding practice. They desire for an on-the-fly solution to test and run their Python code. Hence we decided to present them best available online tools to fulfill their needs.

Why need Python Virtual Terminal for Coding Practice?

We get aware of many interesting aspects shared by our readers. Most of them don’t use desktop or laptop for online surfing. They either work through high-end mobile phones or tablets. So they wish to run Python from their tiny smart gadgets using virtual terminal. This is also because no one wants to sit for long hours and do coding practice in the traditional way. Everyone wants to learn quick and easy. And they feel installation/un-installation quite troublesome. As on any bad day, both these operations can kill lot of your time.

read more

Top 7 websites for Python Programming Beginners

Automated software testing and Python test driven development both complement each other. These are the most discussed buzzwords among testing fraternity. Most of the python programming beginners wish to learn Python to perform automated software testing. Python has gained popularity amongst programmers in all areas of coding. From web development to automated software testing, many people have loved this programming language. Why, because it’s easy to learn, easy to use, and very powerful. There are many training websites who offer paid Python online classes. They are good as you get exposure to their live projects. We here filtered the best online resources which are free. And you’ll find good Python exercises for Python developers. Even some of the web resources allow python tutorial download in variety of formats. Let’s now proceed to know more on the subject.

read more

Entry Level Java Developer Quiz for Software Developers

Today, we’ve come up with an entry level Java developer quiz with 20 questions. It is designed for software developers and automation test engineer. Any software developer or automation test engineer can evaluate himself. And tests his entry level Java developer skills with this quiz. This quiz offers most relevant entry level Java developer questions. We tried to make this Java quiz as useful as it could be. We wish that it would facilitate software developers to improve their Java developer skills.

read more