Home WordPress Why Is My WordPress Site So Slow? - How To Fix It

Why Is My WordPress Site So Slow? – How To Fix It

- Advertisement -

You may be sometimes wondering “Why is my WordPress site so slow?”. Before your page even starts loading, possible users can leave. And in the search results, you’ll be punished, meaning even less traffic.

You really need your website to load in two seconds or less. How will we accomplishing that? Let’s go through it! 

Why is my WordPress site so slow?

You do not feel sluggish on your blog. Quite definitely, it has already been cached by your server, so you won’t see it the same way as a new visitor.

Here are several utilities that can inform you how long it takes for your website to load and tell you your page’s average file size:

Before and after tuning them for results, check your sites’ pace. You’re doing great if you can get your pages ready in two seconds.

Keep a list of how any move you take makes a difference. What has made the most difference?

Why Is My WordPress Site So Slow

Pick a Good Web Hosting Company

Next, your hosting needs to be checked. You usually get what you pay for with hosting.

Thus pages can load more slowly on cheap hosting, where resources are shared between several sites.

In comparison, you usually see much better server load times on dedicated hosting.

Techsall is using Contabo VPS. Can you not afford to use them? The cheapest, the fastest, and the greatest!

First, measures to improve the loading time!

We recommend checking the following points in the first step; mostly, you can already achieve a significant improvement in a website’s loading time with this.

Optimize images

How big are the images that are included on the website? If the images’ file size can be reduced, the viewer has to load less data, and the website becomes faster. Here it is possible to test all graphics with the small tool http://optimizilla.com/.

Upload the original image there and get an optimized version that you can use on your website. Often the file size of an image can be reduced by up to 70%.

Use new PHP version

Make sure you always use a current PHP version, but at least version 5.6. because OpCache is already activated here. The possible performance gains through OpCache can be up to 50%. OpCache only reduces the processing time for PHP scripts on the server.

Activate Browser Cache

Today every web browser is able to work with a built-in cache. The browser cache is easily explained: In the cache, a lot of data belong to your website but do not constantly change, such as images or style sheets CSS or JavaScript files.

This data does not have to be loaded from the webserver during a new visit. Details can be found in our article: How to optimize the loading time of your website.

Enable Compression

Today, the compressed transmission of data is no longer a challenge for any browser and is accepted without the visitor’s intervention.

Due to the reduced amount of data that is transferred, the speed increases.
Your site is still slow; we are happy to help!

  1. Please send us an e-mail to [email protected] with the following details:
  2. Name of the website
  3. When did you notice the behavior of the slow loading time?
  4. Screenshot of the evaluation of your page using Pingdom see: Point 1
  5. “Facts, how fast is the page really?
  6. We will then check and analyze for you which measures are possible to optimize the page’s loading time.

How to optimize the loading time of your website

Speed is still one of the big factors for the success of a website. Today 35% of the users demand that the website is built up within 2 seconds. 

The loading time of your website is, therefore, directly related to success. For example, if the loading of the website takes 4 seconds, you will lose up to 25% of your visitors!

Especially in the field of eCommerce, these values can be converted very well into simple numbers. For customers, it is often only a feeling; if the webshop is felt too slow, 79% of the visitors do not come back for a new purchase.

A tip in advance: Optimize the images on your website. In the time of broadband DSL, this simple point is unfortunately much too often neglected. Mostly PNG graphics are used; here, the service tinypng.com is recommended to optimize its graphics.

Use the advantages of the browser cache for your website.

A simple and effective way to reduce traffic to your website and increase performance.

Today every web browser is able to work with a built-in cache. The browser cache is easily explained: In the cache are stored a lot of data that belong to your website but are not constantly changing, such as images or style sheets CSS or JavaScript files. This data does not have to be loaded from the webserver when you visit the site again.

Activate browser cache in two steps

1. first activate the module “mod_expires” in the file “/etc/httpd/conf/httpd.conf” by simply commenting it. Then restart the apache webserver.

LoadModule expires_module modules/mod_expires.so
  1. Copy this code to the end of your .htaccess file or directly into httpd.conf
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType text/html "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
</IfModule>

Compress the contents of the website

Today, the compressed transmission of data is no longer a challenge for any browser and is accepted without the visitor’s intervention. Due to the reduced amount of data that is transferred, the speed increases.

  1. Activate first the module “mod_deflate” in the file

“/etc/httpd/conf/httpd.conf” by simply commenting it. Then restart the apache webserver.

LoadModule deflate_module modules/mod_deflate.so

Copy this code to the end of your .htaccess file or directly into httpd.conf

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/atom_xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-shockwave-flash
</IfModule>

The test whether the compression is active and successful can be easily and uncomplicatedly tested at the following URL:

http://www.gziptest.com/

Disk-Cache accelerates your site reliably.

If mem_cache is activated in the apache web server, data is stored directly in memory; alternatively, you can use “disk_cache” to store the data on the hard disk.

The goal is to access data that is often used very fast and efficiently. Since today mostly SSD disks are used, we save our main memory and rely on on-disk cache. This option usually brings an immediately noticeable positive effect.

Activate Disk Cache

First activate the module “disk_cache” in the file “/etc/httpd/conf/httpd.conf” by simply commenting it. Then restart the apache webserver.

LoadModule disk_cache_module modules/mod_disk_cache.so
  1. Copy this code to the end of your .htaccess file or directly into httpd.conf
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
</IfModule>

Must READ:

  1. How To Properly Create A Blog And Earn Cash Out Of It
  2. What Are The Ways To Prevent Plagiarism And Copy/Paste In WordPress
  3. Beginner’s Guide: How to Restore WordPress from Backup
- Advertisement -
- Advertisment -
- Advertisment -
- Advertisment -