Hostiso Blog

The latest news and announcements about our company, infrastructure and services!

How to optimize WordPress for best performance and speed, tutorial? - Hostiso - Advanced Hosting Solutions

  • October 18th, 2018

This easy tutorial will help you to add extra performance for your WordPress, and in combination with good hosting you will have best for your site. Visitors will have great experience as your site would load faster, without delay,and any second of delay can mean lost sale.

Turn on Dynamic Caching
If you add dynamic caching for your WordPress site it will have great impact on site speed and performance. Some of services that you can enable are redis, opcache, and all of them are provided and enabled with Hostiso hosting and all is enabled for best WordPress performance.

Enable gZIP compression
To reduce size of data that’s being transferred between your server and your visitors, you can enable gZIP/brotli for your CSS, JavaScript, images. This will allow server to compress them, similar like ZIP file, and server browser less data which then browser decompress and serve to visitor. This allow faster transfer, faster site load and happy visitor. By default this option is enabled on any Hostiso service.

The fastest way to enable the gZIP compression for your CSS, images and JS files is to add these lines to your .htaccess file in the root WordPress folder:

## ENABLE GZIP COMPRESSION ##
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
## ENABLE GZIP COMPRESSION ##

Optimize your Images
Images are one of main parts of any site. And it is important to have optimized images. These are some of things you need to have in mind during your WordPress site development:

Images are essential part of every website. It is important to have them optimized. There are few things regarding your images that you should have in mind when developing your WordPress site: – Use images that are proper size. Avoid upload images that are large, in size and dimensions, it can have big impact on site performance. – If possible, use Sprites for your themes. Using sprites is a CSS technique that uses a single image to show multiple design elements on your pages. This way instead of loading dozens of small images (making http requests each time), your site will open a single one. Sprites, however, must be considered when the theme is designed. So always look for themes that utilize sprites. – Smush your images. Smushing them will remove all the additional data from your photos – creation date, camera used for the photo, GPS coordinates, etc. There is a plugin that does that for you called WP Smush.it.

Minify your JavaScript and CSS files
Minifying your CSS and JavaScript files means that all the unnecessary data from them like double spaces, empty new lines, comments, etc. will be removed from the files lowering their size. There are many online tools that you can use for free to minify your files. In addition, if you’re using the W3 Total Cache plugin, it has an option to automatically minify your theme’s CSS and JS files.

Use a CDN
CDN is short for Content delivery networks, they allow users to cache copies of your site on their local nodes and serve visitors these copies. This allow faster site load and better performance as content is served from datacenter closes to visitor. By default Hostiso use CloudFlare, and as soon you set our NS, you are using CloudFlare benefits.

Leverage browser caching
Leveraging the browser caching means that you specify for how long visitor browser cache images, JS, CSS files. You can add the next lines to your .htaccess file of your WordPress in order to enable this optimization.

## LEVERAGE BROWSER CACHING ##
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 application/pdf "access 1 month"
ExpiresByType application/x-javascript "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
## LEVERAGE BROWSER CACHING ##

Optimize your WordPress Database
One of good way to improve performance is also to optimize your database, this can be done by going to cPanel > phpMyAdmin > select DB on left side, select all tables and click on OPTIMIZE in drop down menu.

What Hostiso offer for WordPress?
Above suggestions are for other hosting providers, and all above we offer, but here some extra in several short lines … By default all hostiso hosting packages use SSD, that provide up to 30x better performance over old HDD on top of that SSDs are in RAID 10 configuration and this then add more performance improvement. We also use redis (db caching), opcache, brotli, http/2, MariaDB and much more, in most cases you will not find even half of this with any other provider. And if you are still not confident that Hostiso is good solution for your WordPress site we offer 60 days money back, not question asked to test us free. Any site transfer, setup, optimizations, SSL, domain, backups, are free!

Want regular updates?

Our engineers and developers are always posting interesting articles regarding the latest announcements and guides in the world of cloud hosting.

Subscribe via RSS

What Our Customers Say

We've helped hundreds of clients with custom server solutions, enabling them to operate much more efficient and secure than they ever did before.

Hostiso are polite guys with rich experience in linux and script support. They know how to run hosting biz and that is why they are concerned about their customers comfort.

Mark Miller
Health Company

Finally, after so many hosts for now I feel I have found hosting provider that I will stay for long with. The main reason of my satisfaction as a customer is their support.

Tom Smith
Video Streaming Company

Hostiso is comfortable to deal with for such a novice in hosting like me. They have polite staff who interact with customers in high professional manner.

Mia Fonda
SAAS Billing Solutions

Looking for a custom solution?



Our support can help you with the best custom made solutions on the market, no

matter whether you're a small business or large enterprise.

Get in touch