How to optimize webpage by Google Page Speed Suggestions

Sometimes we need to optimize our developed webpages. Today I will show you how to optimize your web pages with compression, minifying css/javascript, leverage browser caching and other suggested method provided by Google Page Speed?.

I am describing you about few suggestions provided by Google Page Speed and how you can optimize your web pages.

?Compress resources of website?
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Or, compress certain file types by extension:
<files *.html>
SetOutputFilter DEFLATE

The above file should be write inside .htaccess?file in your root directory of your website. The above code will compress your content (i.e: Html, JavaScript) and everything by using DEFLATE module of Apache. Just make a new file and rename it with .htaccess?and copy/paste the above code inside your website’s .htaccess? file.

?Expiration date set in Header output of Resources?


It’s also very much important to set Expiration Date to each of the resources which are cachable. Just place the following code inside your .htaccess? file.

<IfModule mod_expires.c>

# Enable expirations
ExpiresActive On

# Default directive
ExpiresDefault "access plus 1 month"

# My favicon
ExpiresByType image/x-icon "access plus 1 year?

# Images
ExpiresByType image/gif "access plus 3 month"
ExpiresByType image/png "access plus 3 month"
ExpiresByType image/jpg "access plus 3 month"
ExpiresByType image/jpeg "access plus 3 month"

ExpiresByType text/css "access 3 month?

# Javascript
ExpiresByType application/javascript "access plus 1 year"


The above code will set expiration date for all of your resources in your websites. It will increase speed of your website effectively.

?Connection: Keep-alive in Apache?

Keeping connection alive will do a great and big thing to optimize your web page. It will make consistent connectivity with server for rendering scripts and many other resources. So add the following lines inside your .htaccess? file.

#Connection keep alive
#Page Speed Optimize tutorial by Shaharia Azam (
<ifModule mod_headers.c>
    Header set Connection keep-alive


The above codes will do a great things which will optimize your web pages for your visitors. It’s very important for developing large web pages. You can test your site’s performance from Google Page Speed online.

Why Bangladeshi Websites are so old in using modern technology?

?Bangladeshi websites are so called ‘OLD’?

There are so many popular websites in Bangladesh. Some of them are commercial and some of them are for personal usage and even some of them are for business purpose. Now a days Bangladeshi websites are being developed so fast. Each day hundreds over site is being developed approximately. But Bangladeshi Websites are so old in looking. Most of the websites are developed by as usual way. I am here to write few things about why Bangladeshi websites are not habituated to use latest technology and features.

  • Just brand
    Few Bangladeshi websites are being developed because of their brand value. People know their name and that’s why people see their website and they are getting lots of traffic. Like, This kinds of website owner of Bangladesh thinks that their website is running with lots of information and they are getting traffic so that’s OK. They are giving 20, 30 thousands over salary to their webmaster but their website is as usual. Few of this kinds of famous branded website has started sharing content through social media since few days, few months. Their webmasters haven’t implemented any special features or their website doesn’t meet cross browser functionality, standard graphical user interface, accessibility,?readability. Most of the websites are just generating content and they are running. Even they don’t think about the development of their websites. So Bangladeshi websites are so called ‘poor’ in using modern technology.
  • Old but Highly Paid Web Developer
    Most of the Bangladeshi website is being developed by poor skilled web developer but they are getting high payment as their salary because the website owner (company) has large amount of sells and the company is still a famous brand in Bangladesh. That’s why company management is providing high payment for their web developer but do they think their webmaster’s quality, experience or quality?
  • Open Source CMS, Limitation on Idea
    Most of the Bangladeshi websites are running by Open Source CMS like WordPress, Joomla (Why Joomla is favorite for Bangladeshi web developer?). And their top management is hiring wordpress developer or Joomla developer or other Open Source CMS developer for their official website. So that when their webmaster start working for their website then for the limitation of open source CMS their webmaster can’t built any extra functionality for their website until their expected functionality is not being supported or compatible with their favorite Open Source CMS. So they can’t go forward as they want (sometime not everytime). Because open source CMS is open for all. So it can’t fulfill the requirement of all kinds of people. So if we use Open Source CMS then we should gather the ability to add extra functionality for that CMS as we expect.
  • Lack of Skilled Webmaster
    In Bangladesh day by day web development learner is increasing but the number of skilled webmaster is not increasing. Because before finishing learning of Web Development people think they are capable to start earning or building their career as a web developer. But they shouldn’t do that. They should complete their training or they should work themselves few months of few years before starting their career. It’s so important. In Bangladesh recently 95% of web developers are doing outsourcing. They are considering themselves as freelancer. It’s good but for this we are loosing few brilliant web developer’s talent. They don’t want to work under pressure like going to office, working under a boss. But it is necessary. They should do professional work. For this reason Bangladeshi websites are being so called old because the Bangladeshi website owner is not getting skilled web developer.
  • Webmasters are becoming Entrepreneur
    Most of the webmasters are becoming entrepreneur with their project. But they don’t know the business or they don’t know the business opportunity for their websites. That’s why a large number of Bangladeshi websites are loosing their quality. To do start business with this websites web developers can’t concentrate on developing their websites. It’s a major problem for Bangladeshi websites.

I will also write about it in further. But I personally think we should implement most of the latest technology in our websites. There are lots of techniques, technology to make our website more better, more standard and more user friendly. So we should think about the development of Bangladeshi website. If you know more please don’t hesitate to share information and your opinion in comments.

Why Joomla is favorite for Bangladeshi web developer?

?Joomla for Bangladeshi Web Developer?

I have searched a lot about this topics and also discussed with few of smart and skilled Joomla developer in Bangladesh. I am sharing the summery of this issue.

Most of the Bangladeshi webmasters are familiar with Joomla than wordpress or other CMS. They are mostly familiar with only Joomla. And most of the old aged web developers of Bangladesh are developing website in Joomla. Joomla is an old and large CMS. There are few web development training institute in Bangladesh and most of their teachers are old aged and familiar or expert in Joomla that’s why they are motivating their users to use Joomla. Even I have heard that ‘I know Joomla’ when someone meet with Job interview board. hahahaha. Just funny. Even somebody know Joomla but they haven’t any knowledge on PHP. It’s funny to me. Isn’t it?


Bangladeshi web developers are learning Joomla by being motivated by their senior web developers of GURU. But they never know the comparison about Joomla with WordPress or others. They are just following their senior guru.

90% of Bangladeshi web developer know Joomla because of their?senior guru?but they don’t know others. It’s one kind of de-motivation. It’s something like the following quote-


আমি যাহা পারি এটাই শেখো, এটা-ই সবচেয়ে ভালো.. জুমলার ক্ষেত্রেও আমাদের দেশের ওয়েব ডেভেলপাররাও তাদের শিষ্যদেরকে এটাই বলে আমার ধারনা


What should be the OUTPUT of your SEO work?

Many people are eager to know actually what should be the OUTPUT of their SEO work? How they will represent their result in Google SERP (Search Engine Result Page). That’s why I am here to see you few of my personal SEO work’s output.

Freelancer of Bangladesh

For the keyword Bangladeshi Freelancer?you should see my name and my website address in Google Search Engine Result Page (SERP)


?Shaharia Azam - Popular Web Developer in Bangladesh

Simply this types of representation will make your impression good to your visitor. In the above Google SERP you are seeing my own developed WordPress Plugin repository link. And beneath the url you are seeing rating. Of course this rating will send your visitor to your source url cause they will definitely understand that people are talking positive about this.

Search Engine Optimization (SEO) is not only to bring your website address on top of search result. The most basic and primary goal for SEO to increase your traffic for your site. So FIRST IMPRESSION CAN NEVER BE BACK. So you should represent your content in Search Engine Result page more interactively and if you can follow Google’s own technique then obviously your SEO work will progress to a SMARTER level. Always try to understand the CORE and don’t be PANIC

I will tell more about How to do SEO smartly?but I need your response so that I can understand your needs. Post your comments here and I will try to reply all of you.? ? ??