Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Speed Up Any Website (Especially WordPress)
02-02-2019, 08:28 AM,
Post: #1
How to Speed Up Any Website (Especially WordPress)
You have probably noticed while browsing Hosting Manual that we have fantastic website speed. Surprize, we are running this website on shared web hosting so that we do what we preach.

The truth is the majority of small business websites are fine with good old regular shared hosting. There are a couple of review sites who bash shared hosting companies while upselling you to higher tier hosting solutions at those very companies. Don’t be fooled!

You can get impressive speed even on a shared hosting plan.

Since most of the folks use WordPress as their platform of choice, I will use that in my examples. However, you can do most of this stuff just as quickly on all the other platforms. Okay, maybe not as quickly as on WordPress, but it should be feasible.

There are things that on a shared host only your hosting company can do (if you are on shared hosting), and there are things that you can do.

Here is our performance report from GTMetrix for a start:

Hostingmanual Performance Report on GTMetrix

Use a High-Performance Server
Apache is a very mature server engine, but it consumes a lot of memory as the number of connections increase. Litespeed on the other hand, have much better memory usage, so your server can handle more connections with less delay. If you are on a shared host, this is pretty much given to you.

Tip: is using Litespeed.

Use HTTP/2 or QUIC
HTTP/2 is a new HTTP protocol that boasts of improved speed. The major web servers do not yet support some features. NGINX does not yet support prefetch, and rumors say it will be a premium feature only for paid customers. Apache, on the other hand, has it for quite some time.

QUIC is still in beta, but some hosting companies have already implemented it. Google developed it, and it ships even faster loading times that HTTP/2.

You can check if your website supports HTTP/2 here. If your hosting company doesn’t provide you with any of this, you should look for a different company.

HTTP2 Test

A2Hosting is the only company I know of that provides QUIC on shared hosting.

Use SSD or IOPS for Data Storage
This is a tough one if your hosting company doesn’t support it by default, but luckily most do. SSDs have a massive advantage over traditional spinning disks when it comes to reading and writing data.

Compress Data Transfers
Most shared web hosts support gzip data compression. This means that for each request the server first compresses your response and then sends it to you. Your browser decompresses it and displays it to you. The transfer is much less in size, so it’s faster.

In cPanel, look for “Optimize Website”:

cPanel Gzip
And then select “Compress All Content”.

Compression cPanel

There are other more cutting-edge compression techniques like Google’s Brotli and some others. Those are more useful at a larger scale (like what Google does).

In case you don’t have cPanel, there is an excellent guide on how to enable gzip for most web servers here.

Avoid Unnecessary Javascript Files
I see too many websites using old Javascript for things that can be done in HTML5 and CSS3. If you are using Javascript for layout, transitions, etc. think again. Take a good look at your code and leave Javascript out of the picture where possible.

Combine Javascript and CSS files
Having multiple Javascript and CSS files increases the number of HTTP requests, which in turn results in slower loading times. Combining all Javascript files into one big .js file and all CSS file into one .css file saves a lot of resources.

If you have a static website, you should know a little bit of programming to make this happen. If you are using WordPress or any of the modern CMSs out there, it should be pretty easy to do. W3 Total Cache and WP Rocket can do this automatically for you.

There is a slight chance some layout things will break when you do this so make sure you test extensively.

Compress Embedded Images
Yo can compress images to different levels without sacrificing quality. Posting raw pictures on your website can put seconds on your bottom line. I know for WordPress some plugins take care of this for you automatically, like EWW Image Optimizer.

If you cannot further compress your images, there is one more trick that can make your site look faster. I said look faster, because it doesn’t make your site quicker but creates the illusion of it. It’s called progressive JPG. A pixelated version of your jpg images will show up at first (very fast) and as your site fully loads the images load too, and the quality gets better.

Use LazyLoad for Images and Videos
Lazyload is usually a Javascript solution where your delay loading of images and certain objects (like iframes, videos, etc.) until the user scrolls to that section. If you are using WordPress, again, you are in luck because there are free plugins capable of doing this. On Hosting Manual we use WPRocket which besides caching our website, also has a lazy loading feature. We are not using it for images for the time being because we miss some specific features from it.

Use Server and Client Side Caching
As I mentioned above, we use caching and you should too. Caching is saving the output of your server at different levels, so it doesn’t have to do the same operations over and over again. This is useful if there are a lot of repetitive processes. For WordPress websites, I believe it’s a perfect solution unless you have a highly dynamic site.

There are different levels of caching. On the server level you can cache:

the compiling of PHP into opcode (OPCache),
the output of your database queries,
the output of your web pages.
You also have two options where to store your cache: in the memory or on the disk. With SSDs being widespread the latter can also be a good option.

The end of the chain is browser caching. You can specify how long a resource should not be reloaded from your website and instead be served from the visitors’ local browser storage. This won’t have any noticeable effect at first load but will deliver that snappy loading on the second visit, or when visiting other pages on the website.

Use a Content Delivery Network (CDN)
A content delivery network is a network of servers that are (ideally) placed around the globe in every significant internet hub. They take the load off your server by serving static files from their servers. They also serve them from a location that’s the closest geographically to the visitor.

This means your server won’t be overloaded handling all those static files, therefore can manage the more critical stuff better. And the CDN serves those files from servers designed for this specific task, and closer to the user. The result is usually a significant speed improvement.

One such CDN (and a free one at that) is Cloudflare. Web hosting companies love Cloudflare because it takes a lot of load off their servers so they can sell it to more customers.

Choose the Right Data Center Location
Not only CDNs can optimize based on location. You can do it too. Some web hosts (like Inmotion Hosting, TMD Hosting, and A2 Hosting) let you choose data center when you sign up. If you know that most of your visitors (or customers) will come from one specific location, it makes sense to have your site hosted close to them.

Reduce Unnecessary Load
All the above were tweaks to your infrastructure and design, but it’s all futile if you let bad bots and other websites leech your bandwidth and processing power.

Prevent Hotlinking
Hotlinking is when a website displays an image that’s hosted by you. Essentially they are using you as a CDN (see above). It might also be copyright infringement depending on the image you have, but it’s also putting additional strain on your server.

Luckily, in cPanel you can disable hotlinking with one click.

Hotlink Protection in cPanel

Ban Bad Bots
What are bad bots? They can be some applications that for some reason crawl your website and not take your robots.txt into account.

You can use this htaccess code to ban bots you don’t like. This is assuming you know the names of the bots you want to ban. Simply replace bot1, bot2 and additional lines as you see fit.

SetEnvIfNoCase User-Agent .bot1. bad_bot
SetEnvIfNoCase User-Agent .bot2. bad_bot
Order Allow,Deny
Allow from all
Deny from env=bad_bot
Further Tweaks: Optimize Code
The tips I have listed above can be done quite quickly even if you are not a programmer. If you want to go one step further, you can look at the performance of your code. It has a massive impact on your speed.

Again, for WordPress, there is a free plugin that checks the performance of plugins called P3 (Plugin Performance) Profiler. It hasn’t been updated for a while, but last time I checked, it worked perfectly on my installation.

WordPress aside, you can always go one step further and even change the programming language you use. Node.js for example reportedly has much better speed than PHP (which WordPress runs on). The bottom line is with proper caching and some tweaks you can have a snappy website on any server and any programming language.
02-03-2019, 08:16 PM,
Post: #2
RE: How to Speed Up Any Website (Especially WordPress)
Thank you very much for the information! I'll try to do this with my site. I promote it myself, I need to learn!
02-14-2019, 12:54 PM, (This post was last modified: 02-14-2019, 12:55 PM by emniclap.)
Post: #3
RE: How to Speed Up Any Website (Especially WordPress)
is a common problem that usually occurs while printing on a regular basis. Due to having low internet connection on your operating system, such an issue can be arisen. printer is in error state
02-14-2019, 12:56 PM,
Post: #4
RE: How to Speed Up Any Website (Especially WordPress)
when you get an issue with you website. dont' be worry about it just contact see our site which 502 bad gateway error provide the solution related to the website or any issue contact by email.
02-16-2019, 10:06 AM, (This post was last modified: 02-16-2019, 10:08 AM by Aaradhana Akshay.)
Post: #5
RE: How to Speed Up Any Website (Especially WordPress)
Thanks a lot for sharing this information, really great and I will try this to my site. AngularJS Training in Chennai
04-08-2019, 01:59 PM,
Post: #6
RE: How to Speed Up Any Website (Especially WordPress)
Shoe Net, cheap christian louboutin December adidas sneakers 17, the cold and bleak winter, girls'thick cheap christian louboutin shoes coats and short overcoats gradually began adidas superstar to appear in pink ink, this season, no matter what style red bottom shoes of christian louboutin outlet coats, coats, christian louboutin sale are inseparable from the word warmth, color and style also from the visual echo adidas originals of this feature. adidas outlet So don't cheap christian louboutin shoes do it anymore, as long louboutin shoes as you have good manners, no red bottom shoes temperature, no frost beauty, put on cheap christian louboutin shoes a warm coat, and be a red bottom heels girl of red bottom shoes healing department. Academic School: How louboutin shoes adidas stan smith memorable christian louboutin sale is the unbeaten English trend of campus life that can never come back, and adidas outlet what we cheap jordans can do is to try on the cheap christian louboutin costume of Academic School once in a while and relive christian louboutin shoes it again. At the same jordans for sale time, with the popularity of Gossip Girl, American college cheap jordan shoes christian louboutin sale fashion christian louboutin shoes adidas originals clothes continue to become popular. Long monochrome windbreakers, short baseball jackets, with cheap jordans pleated skirts, suits and red bottom heels shorts, stockings and sports red bottom heels shoes & hellip; & hellip; adorn the monotonous life adidas nmd with these youthful matches, which is cheap christian louboutin shoes also very good. Matching scheme: hooded cheap christian louboutin jordans on sale windbreaker christian louboutin shoes & times; woolen sweater & times; middle stockings & times; men's wearing leather shoes and pastoral school: a sense of hierarchy with the pastoral style jordan 11 of the small christian louboutin outlet fresh christian louboutin shoes model, is naturally the red bottom shoes favorite of christian louboutin sale young girls who love Sen's dress. jordan 11 This kind of dress pays most attention to the adidas yeezy layers jordans on sale cheap christian louboutin of jordan 5 clothes and the combination christian louboutin outlet of colours. jordans for sale Profile cloak is adidas superstar the best choice for this christian louboutin outlet kind of outerwear. The sagging feeling of profile coat enriches the layers of red bottom heels the whole adidas sneakers suit, and it can also play adidas yeezy a certain role in body decoration. Unlike last year, louboutin shoes this year's cloak adds cheap jordan shoes the elements of cap and fluff, adidas nmd and adds a sense of jordan 5 youth and wit. Matching scheme: wool cloak & times; woolen Shorts & times; color stripe bag louboutin shoes
04-22-2019, 07:20 PM,
Post: #7
RE: How to Speed Up Any Website (Especially WordPress)
Wondering about how IOT works? The Internet has changed everything now-a-days like that IOT is becoming an essential part of the technology and now its a reason for the change in technology. It aims to take the technology, the connectivity between human and tech to another level.

Humans can interact with the gadgets to set them up, give them instructions or access the data, but the devices do most of the work on their own without human intervention.
05-15-2019, 10:31 PM,
Post: #8
RE: How to Speed Up Any Website (Especially WordPress)
Shoe Net, red bottom heels Jan. 14, what kind of woman do you want to be? Is it a cheap christian louboutin shoes woman with special charm nike air max in the novel, nike factory store dull and fresh, or a strong OL woman? Roses are jordan 11 always too red bottom shoes changeable. Blue jordan 5 is charming, red is christian louboutin hot, nike outlet store pink is cheap christian louboutin romantic, white is pure, no matter what kind of woman you want to be, there is always a suitable one under armour boots for you! cheap jordans Metallic nike roshe run Rose Half-length red bottom heels Skirt, air max not at all sweet and greasy, is suitable for most people. Girls wear gray medium-length clothes and red bottom heels black-and-white styling bags, full of air, office red bottom heels workers can try this kind of dress, which is different from the stereotype of the suit, but not too frivolous. White fur is always accompanied by cute, with such a bow-tied fur coat very young girls, christian louboutin shoes age points. This green dress is mature, cheap jordan shoes simple with knitted sweaters, creating a mature christian louboutin shoes nike outlet store and elegant adidas yeezy look. If you want to choose a color to match the dark green, it must be wine red, nike outlet store with jordans on sale jordan 5 nike shoes wine red shoulder cheap christian louboutin shoes bag as the sculpt points. Nothing is more campus under armour shoes than a strap skirt with a white shirt. If you adidas originals want to be more mature, go with a dark coat and a jordan 11 bag with leopard print christian louboutin outlet nike roshe run elements. jordans on sale Big nike outlet store print rose dress nike shoes is nike store eye-catching enough, but if not well matched, it is easy to be referred to as "auntie dress", this pattern must choose a good format, with a universal black jacket, everything is OK. Leather cheap jordan shoes skirt is one jordans on sale of the hot items this winter. louboutin shoes It is matched with sanitary clothes. It is full of youthful vitality and sports nike air max flavor. If you want to go out with a floral christian louboutin sale handbag, jordans for sale wear a under armour outlet solid half-length skirt nike store to balance the colors. In this way, the whole red bottom shoes printed toilet clothes can also be matched with jeans, but also has a different adidas nmd flavor. Dark rose print half-length skirt, air max with adidas stan smith locomotive jacket and Martin boots, street red bottom shoes punk style. Rose elements are dazzling and feminine on the body. louboutin shoes Women can wear them like cheap jordan shoes this. (Cooperative adidas nmd Media: Clothing Matching) cheap christian louboutin
02-22-2020, 05:37 PM,
Post: #9
RE: How to Speed Up Any Website (Especially WordPress)
If you do not see the blinking of the Ready LED, this implies that the printer has not been able to link to your WLAN access point / router. If the link setup failed, check the handbook for WLAN error codes. So, the Brother hl-2170w wireless setup is lastly complete now.
11-02-2020, 10:31 PM,
Post: #10
RE: How to Speed Up Any Website (Especially WordPress)
Thanks much for the data! I'll attempt to do this with my website. I advance it myself, I have to learn!

Forum Jump:

Users browsing this thread: 1 Guest(s)