Site slow? Why is that?

You are here:
Estimated reading time: 3 min

Usually there’s no simply answer in regards to loading speed. A lot of factors can affect it, starting from the hosting to what actually is used throughout the website.

Can Rey be the cause of the slow speed?

Yes, it can be, but it entirely depends on the context. What is running from Rey and other plugins? This is essential, because Rey itself is not that large in its footprint. But assuming it can have a bug somewhere, or a poorly written code (i don’t believe there is, but i’m always improving it), plus some other plugins running next to it, than performance can drop.

I’ve built Rey with performance in mind (as much as i’ve been able to). Basically i’ve made sure that if some feature is not used, than don’t run its code.

Unfortunately i can’t give an exact answer because there isn’t but below you can find some suggestions that will clearly help.


Use a caching plugin

There are lots of caching plugins out there. As a free solution, my personal favorite is WP Super Cache but there are plenty others. Just install and enable caching. It’s pretty much configured by default.

I also suggest Autoptimize plugin, which is a companion plugin to handle assets minification and concatenation. This reduces CSS and JS filesizes and also the number of requests made. Another feature of it is lazy loading images and i suggest using it. Here’s a video tutorial i suggest if you’re not sure how to handle this plugins.

A premium solution i suggest is WP Rocket. Has pretty much all features included.

Now these are personal preferences, there are lots of comparison tables out there and i’m sure there are plenty great plugins, but i just haven’t had the chance to test them.


Some hostings are just bad

This is a controversial topic, so that’s why i don’t want to share too much of my opinions, and instead i suggest to research on your own if your hosting is the best solution for your website. What i can say for sure is that if it’s really cheap, than cheap you get. There’s a reason why some hostings cost $4 and others $99 and more.

I’m personally a fan of SiteGround , Kinsta and CloudWays (no affiliation) and they have affordable solutions. I highly suggest dropping a visit.


Optimize your images

This one is very, very important. Make sure to optimize your images for web.

If you don’t want to manually optimize images, there’s a few plugins out there that will automatically resize and optimize images. Here’s some: Imagify , Optimole, Smush.

An unoptimized image can weight as much as Rey’s entire CSS or JS scripts. Be sure to optimize them!


Use a CDN for assets

CDNs can help your users load your website faster by serving your static resources in nodes all around the world. More in this article https://gtmetrix.com/why-use-a-cdn.html .

My personal favorite CDN is BunnyCDN (no affiliation), has very affordable prices and its own WordPress plugin .


Don’t use too many plugins, especially unnecessary ones

It’s simple, the more plugins you use, the more code runs. Make sure to enable plugins that are actually in use, they’re high quality and well rated.


Check the error log

In some cases, there might actually be some PHP errors that are behind the slowness. Here’s a quick and easy video tutorial to help out in debugging WordPress .

Since we’re onto errors, there might actually be JavaScript errors too. So you could try to right click in the page, click on Inspect and after Chrome dev. tools opened, click on the Console tab. Make sure there aren’t any errors.


Install Query Monitor plugin and check the stats

It’s also a common issue to have too many database queries. Try installing Query Monitor plugin and in the frontend, open the top admin’s bar stats and check there. For example in London’s demo frontpage which is pretty large, it has around ~300+ database queries eg: https://d.pr/i/jcsE1z . Make sure to keep this number low.

Please know that if you’re going to use a caching plugin, these DB queries will be cached for visitors and non-admin logged in users.


Should i stress too much about PageSpeed Insights?

This is definitely a great tool for getting all sorts of feedback about speed, site performance and accessibility. It’s best to try fixing as many issues as possible. Most issues though, rely more on the server and user-side improvements. Meaning that it’s mostly up to you to optimize your website through the suggestions i mentioned in this article. Rey as a tool, can only improve its code to be faster, and in time it will keep doing that, however this is just a fraction of the overall big picture.

Here’s a video from Google’s Webmaster SEO channel https://www.youtube.com/watch?v=XUOD6pcvnso , where they explain what this tool actually does. It’s all about the user’s experience (as they said, you can just put a single text in your site and you get a guaranteed 100 score).

So should you stress too much? In my opinion no, not that much. Even billion dollar companies like Apple, Walmart, Asos or Target, barely get a +30 grade eg: https://d.pr/i/cpfMIo .

But. If you have the resources and time to invest in greater performance, definitely do it. It will only increase your site’s user experience.

Also, in my opinion GTMetrix offers much more accurate and realistic scores.

Was this article helpful?
Dislike 0
Views: 312

Join the conversation