Written By Eng. Zakir Ibn Ahmed
Webmaster Tools or Webpage Speed Test tools
provide some website speed optimization tips after doing a website speed test,
which is mostly confusing, to many users. Your website is not just a thing, it
is like a human body or an engine component, it has many small things that
together help to serve your page. There are many things that can happen behind
a page's fast loading, which can lead to a page slow loading if one of them is
flawed. First, by factoring in your web hosting provider, then maturing how
well your webpage’s are optimized, then depending on how fast the client
internet connection is, then also the client device's specification. If there
is a problem with one of these, it will be delayed to load the webpage.
Hosting Provider Selection
Although hosting is not much to increase the page
loading speed, hosting is much more. If you want Next Level Speed, then I would
definitely recommend using Cloud Hosting. How quickly the page loads depends on
how well your page is optimized, but how quickly your site can be pinged
depends on your hosting provider.
Simply put, the response time of the site depends
on the web server. Now not everyone can afford to invest money in the cloud,
because the cloud is not cheap at all. Shared hosting can also provide better
page speed. But the thing is that many shared hosting companies host many
websites on the same server to reduce the cost of the package, hence the server
offers many slower responses. At the same time, the server port of low web
hosting is 5 megabit, which, while running for single website, will not perform
well for hundreds of sites on the same server.
Do regular site speed tests
Fast server will help you connect your site
faster, but the amount of time it takes to load the page will depend on your
webpage. Creating a Full Functional Site Extremely Fast is not a word of mouth.
A commercial site has AIDS, various social plug-in are used, there are various
widgets that cannot be excluded, but they are mostly speed slow. Fast page has
many qualities, keep in mind that not everyone uses high speed broadband, so it
is important to have a slow internet connection so that your site performs
well. More than half of the traffic on the Internet currently comes from mobile
devices (this number is increasing), and if fast page loading can hold mobile
users, many will be forced to leave the site because of the burning of page
loads.
There are more tools for speed testing a website
that everyone can use. Although the results of one tool may differ from one
tool to another, you can get a pretty good idea. You can check out Google's
official tool called Page Speed, where you can measure how your site is
behaving from mobile and desktop.
Reduce the page size
If your site is text dependent like this, then
there is nothing to reduce the size of the HTML, but by using a special
compression method, its size can be reduced to a user's browser. The zip /
deflate compression can be enabled by modifying the HTCCESS file from the
server, which can also be enabled from the caching plug-in if you use Word
Press. Or many hosting providers already enable this compression method on
their server.
If you cannot enable it yourself, contact your
hosting provider, their tech support team will let you (must do!). Reduce the
number of files on a webpage, the less files the less DNS lookups and the
faster the webpage! I do not want to have a full website but there are many
features to keep, especially if it is not aids that will not be possible to
keep the website running. However, these ads and different marketing plug-in
use different servers, so the browser has to send different requests, thereby
increasing the page loading time.
Decrease image size
Reducing the image size is a very important
factor in website speed optimization. I have seen many people make this mistake
and in the past I myself made the mistake, uploading just un-compressed images
to the site. JPG images can be compressed up to 1-5 percent, making a 5 KB size
image of 5 KB without losing a lot of quality.
Image optimization is very easy for Word Press,
it can be easily done by using several plug-in. But for HTML sites the process
can be a little tricky. You need to download the images from the server folder,
then compress the images with an image editing software, then upload the images
to the server again.
Optimize the script
If you have many external scripts on your page,
such as new plug-in, Google fonts, ads, widgets, tracking code, it will load
your page slowly. Of course, check your Ads Dashboard, see how an ad unit is
clicking on it. Units that do not get clicked at all, remove them right away,
believe low ads unit can increase your page speed too much.
Use browser cache
If your site is too dynamic, it is a matter of
using the browser cache technique. When the browser cache system is used, the
browser will load static content from the local system without repeated
requests to the server. First of all, the site will take such a fast load;
Secondly it will be possible to save the server bandwidth. Many static files,
such as your site logo, site icons, social media icons, are the same on every
page, so why repeatedly load them from the server? - If you use Word Press you
can enable the browser cache feature from the Just Caching plug-in. In case of
a separate CMS or Apache server, you can also cache the browser by modifying
the hatches file, just Google it.
ওয়েবসাইট স্পিড অপটিমাইজেশন
ওয়েবমাস্টার টুলস বা ওয়েবপেজ স্পিড টেস্ট টুলগুলোতে কোনো ওয়েবসাইট স্পিড টেস্ট করার পর কিছু ওয়েবসাইট স্পিড অপটিমাইজেশন টিপস প্রদান করা হয়, যেগুলো বেশিরভাগই কনফিউজিং ব্যাপার, অনেক ব্যবহারকারীর কাছে। আপনার ওয়েবসাইট জাস্ট একটি জিনিস নয়, এটাও মানুষের শরীরের মতো বা কোনো ইঞ্জিনের যন্ত্রাংশের মতো, এতে অনেক ছোটো বড়ো ব্যাপার রয়েছে যেগুলো একত্রে মিলে আপনার পেজটি সার্ভ করতে সাহায্য করে। একটি পেজ ফাস্ট লোড হওয়ার পেছনে অনেকগুলো ব্যাপার কাজ করতে পারে, এর মধ্যে কোনো একটির ত্রুটি হলে পেজ স্লো লোড হতে পারে। প্রথমত, আপনার ওয়েব হোস্টিং প্রভাইডার ফ্যাক্ট করে, তারপরে আপনার ওয়েবপেজগুলো কতটা অপটিমাইজেশন করা হয়েছে সেটা ম্যাটার করে, এরপরে ক্লায়েন্ট ইন্টারনেট কানেকশন কতটা ফাস্ট সেটা নির্ভর করে, তারপরে ক্লায়েন্ট ডিভাইজটির স্পেসিফিকেশনও ম্যাটার করে। এদের মধ্যে কোনো একটিতে সমস্যা থাকলে ওয়েবপেজ লোড নিতে দেরি হবে।
হোস্টিং প্রোভাইডার নির্বাচন
যদিও পেজ লোডিং স্পিড বাড়াতে হোস্টিং খুব বেশি কিছু নয়, তারপরেও হোস্টিং আবার অনেক কিছুই। আপনি যদি নেক্সট লেভেল স্পিড চান, সেক্ষেত্রে অবশ্যই ক্লাউড হোস্টিং ব্যবহার করতে রেকমেন্ড করব। পেজ কত দ্রুত লোড হবে সেটা নির্ভর করে আপনার পেজটি কত ভালো অপটিমাইজ করেছেন তার উপরে, কিন্তু আপনার সাইট কতদ্রুত পিং করা যাবে সেটা নির্ভর করে আপনার হোস্টিং প্রোভাইডারের ওপর।
সহজ ভাষায় বলতে গেলে, সাইটের রেসপন্স টাইম নির্ভর করে ওয়েব সার্ভারের উপরে। এখন সকলের নিশ্চয় ক্লাউডে টাকা ইনভেস্ট করার মতো সামর্থ্য নেই, কেননা ক্লাউড মোটেও সস্তা নয়। শেয়ার্ড হোস্টিং ব্যবহার করেও ভালো পেজ স্পিড পাওয়া যেতে পারে। তবে ব্যাপারটি হচ্ছে অনেক শেয়ার্ড হোস্টিং কোম্পানি প্যাকেজ খরচ কমাতে একই সার্ভারে অনেক ওয়েবসাইট হোস্ট করে, ফলে সার্ভার অনেক স্লো রেসপন্স প্রদান করে। সঙ্গে কমদামি ওয়েব হোস্টিংগুলোর সার্ভার পোর্ট ১০০ মেগাবিটের হয়ে থাকে, যেটা সিঙ্গেল ওয়েবসাইটের জন্য চলার মতো হলেও একই সার্ভারে শতাধিক সাইটের জন্য মোটেও ভালো পারফরম করবে না।
নিয়মিত সাইট
স্পিড টেস্ট করুন
ফাস্ট সার্ভার আপনার সাইটটি দ্রুত কানেক্ট করতে সাহায্য করবে, কিন্তু পেজটি লোড নিতে কত সময় লাগতে পারে সেটা নির্ভর করবে আপনার ওয়েবপেজের ওপরে। একটি ফুল ফাংশনাল সাইট অত্যন্ত ফাস্ট তৈরি করা মুখের কথা নয়। একটি কমার্শিয়াল সাইটে অ্যাডস থাকে, বিভিন্ন সোশ্যাল প্লাগইন ইউজ করা হয়, বিভিন্ন উইজেট থাকে যেগুলোকে বাদ দেওয়া যায় না, কিন্তু এগুলোই বেশিরভাগ স্পিড স্লো করে থাকে। ফাস্ট পেজের অনেক গুণ রয়েছে, মাথায় রাখতে হবে সকলেই হাই স্পিড ব্রডব্যান্ড ইউজ করে না, তাই স্লো ইন্টারনেট কানেকশনের যাতে আপনার সাইট ভালো পারফরম করে সেটা লক্ষণীয়। ইন্টারনেটে বর্তমানে অর্ধেকেরও বেশি ট্র্যাফিক মোবাইল ডিভাইজগুলো থেকে আসে (এই সংখ্যা আরো বাড়ছে), আর ফাস্ট পেজ লোডিং হলে মোবাইল ইউজারগুলোকে ধরে রাখতে পারবেন, না হলে পেজ লোডিং এর জ্বালায় অনেকেই সাইট ত্যাগ করতে বাধ্য হবে।
ওয়েবসাইট স্পিড টেস্ট করার জন্য আরো টুলস রয়েছে সেগুলো প্রত্যেকেই একে একে ইউজ করে দেখতে পারেন। যদিও কোনো টুল থেকে আরেক টুলের রেজাল্ট আলাদা হতে পারে, কিন্তু আপনি মোটামুটি ভালো ধারণা অর্জন করতে পারবেন। পেজ স্পিড নামক গুগলের অফিশিয়াল টুলটি চেক করতে পারেন, যেখানে মোবাইল ও ডেক্সটপ থেকে আপনার সাইট কি রকম আচরণ করছে তা পরিমাপ করতে পারবেন।
পেজ
সাইজ কমাতে হবে
আপনার মতো আপনার সাইটও যদি টেক্সটনির্ভর হয়ে থাকে, সেক্ষেত্রে এইচটিএমএল সাইজ কমানোর কিছু নেই, তবে বিশেষ কমপ্রেশন ম্যাথড ইউজ করে এর সাইজ কিছুটা কমিয়ে ইউজার ব্রাউজারে ডেলিভারি করা যেতে পারে। সার্ভার থেকে এইচটিসিসিইএসএস ফাইল মডিফাই করে gzip/deflate
compression এনাবল করা যেতে পারে, যদি ওয়ার্ডপ্রেস ইউজ করেন সেক্ষেত্রে ক্যাশিং প্লাগিন থেকেও এই কমপ্রেশন এনাবল করা যায়। অথবা অনেক হোস্টিং প্রভাইডার আগে থেকেই তাদের সার্ভারে এই কমপ্রেশন ম্যাথড এনাবল করে রাখে।
আপনি যদি এটি নিজে থেকে এনাবল না করতে পারেন, আপনার হোস্টিং প্রভাইডারের সাথে যোগাযোগ করুন, তাদের টেক সাপোর্ট টিম থেকে আপনাকে করে দেবে (করে দেওয়ারই কথা!)। ওয়েবপেজের ফাইল সংখ্যা কমাতে হবে, যত কম ফাইল তত কম ডিএনএস লুকাপ এবং ততদ্রুত ওয়েবপেজ! জানি একটি ফুল ওয়েবসাইটে না চাইলেও অনেক ফিচার রাখতে হয়, বিশেষ করে অ্যাডস যেটা না থাকলে ওয়েবসাইটটি রান করে রাখা সম্ভব হবে না। তবে এ অ্যাডস এবং আলাদা মার্কেটিং প্লাগইনগুলো আলাদা আলাদা সার্ভার ব্যবহার করে ফলে ব্রাউজারকে আলাদা আলাদা রিকোয়েস্ট পাঠাতে হয়, এতে পেজ লোডিং টাইম বেড়ে যায়।
ইমেজ
সাইজ কমিয়ে ফেলুন
ওয়েবসাইট স্পিড অপটিমাইজেশন করার ক্ষেত্রে ইমেজ সাইজ কমিয়ে ফেলা বেশ দরকারি একটি ব্যাপার। আমি অনেককেই এই ভুলটি করতে দেখেছি এবং পূর্বে আমি নিজেও এই ভুল করতাম, সাইটে জাস্ট আন-কম্প্রেসড ইমেজ আপলোড করতাম। জেপিজি ইমেজগুলোকে ৭০-৭৫ শতাংশ পর্যন্ত কমপ্রেস করা যেতে পারে, এতে ৭০০ কেবি সাইজের ইমেজ ১৫০ কেবি বানানো যেতে পারে খুব একটা কোয়ালিটি লস না করেই।
ওয়ার্ডপ্রেসের জন্য ইমেজ অপটিমাইজেশন অনেক সহজ, কতিপয় প্লাগইন ইউজ করে সহজেই এই কাজটি করা যেতে পারে। তবে এইচটিএমএল সাইটগুলোর জন্য প্রসেসটি একটু ঝামেলার হতে পারে। আপনাকে সার্ভার ফোল্ডার থেকে ইমেজগুলো ডাউনলোড করতে হবে, তারপরে কোনো ইমেজ এডিটিং সফটওয়্যার দিয়ে ইমেজগুলোকে কমপ্রেস করতে হবে, তারপরে আবার সার্ভারে ইমেজগুলোকে আপলোড করতে হবে।
স্ক্রিপ্ট অপটিমাইজ করুন
আপনার পেজে যদি অনেক এক্সটারনাল স্ক্রিপ্ট থাকে, যেমন—নতুন প্লাগইন, গুগল ফন্ট, অ্যাডভার্টাইজমেন্ট, উইজেট, ট্র্যাকিং কোড ইত্যাদি এতে অবশ্যই আপানার পেজটি স্লো লোড হবে। অবশ্যই আপনার অ্যাডস ড্যাশবোর্ড চেক করুন, সেখানে দেখুন কোন অ্যাড ইউনিটে কেমন ক্লিক হচ্ছে। যে ইউনিটগুলোটে একেবারেই ক্লিক আসে না, এক্ষুণি সেগুলোকে রিমুভ করে দিন, বিশ্বাস করুন কম অ্যাডস ইউনিট আপানার পেজ স্পিড অনেক বেশি বাড়িয়ে দিতে পারে।
ব্রাউজার ক্যাশ ব্যবহার করুন
আপনার সাইট যদি অত্যন্ত বেশি ডাইন্যামিক হয়ে থাকে, সেটা আলাদা ব্যাপার তারপরেও ব্রাউজার ক্যাশ টেকনিক ইউজ করতে হবে। যখন ব্রাউজার ক্যাশ সিস্টেম ইউজ করা হবে ব্রাউজার স্ট্যাটিক কন্টেন্টগুলো সার্ভারের কাছে বারবার রিকোয়েস্ট না করে লোকাল সিস্টেম থেকে লোড করবে। এতে প্রথমত, সাইট যেমন ফাস্ট লোড নেবে; দ্বিতীয়ত সার্ভার ব্যান্ডউইথ বাঁচানো সম্ভব হবে। অনেক স্ট্যাটিক ফাইল, যেমন আপনার সাইটের লোগো, সাইটের আইকন, সোশ্যাল মিডিয়া আইকন এগুলো প্রত্যেকটি পেজে একই থাকে, তাহলে বারবার কেন সার্ভার থেকে রিকোয়েস্ট করে লোড করা? —আপনি ওয়ার্ডপ্রেস ইউজ করলে জাস্ট ক্যাশিং প্লাগইন থেকে ব্রাউজার ক্যাশ ফিচারটি এনাবল করতে পারবেন। আলাদা সিএমএস বা অ্যাপাচি সার্ভারের ক্ষেত্রে এইচটিএসিসিইএসএস ফাইল মডিফাই করেও ব্রাউজার ক্যাশ অন করা যায়, জাস্ট গুগল করে দেখে নিন।
0 Comments