The response speed of a web is a vital element, and not only for the search engine positioning as well.
You already know that Google penalizes slow websites and it's not that you have a special whim with your readers but that if you spend a good bit of money on make your web fast less resources have to employ the guys of the company chupiguay in crawling your site.
On the other hand, it is your responsibility to offer a quick access to your content it will improve the user experience of your visitors and you will not lose visits due to a web that does not finish loading.
But what do we do if WordPress is slow ?, it's more, why does WordPress go slow at times? Well the culprits can be several, and their solutions sometimes an obvious scary …
… Web hosting …
You must never forget that your web is an application that works because is installed on a remote computer (server) so the configuration and resources of that computer (RAM, hard drive, connectivity) will greatly influence the performance of your site.
If you are in a shared hosting, or be, that you share resources of the server with more webs, it is as if you try to execute several versions of Photoshop at the same time in a computer, with which the performance of each application separately will go down, and the more webs you have hosted, and with more traffic, on the same server.
Currently one of the smartest and most economical options is to bet on the Cloud hosting where you do not share resources from a single machine ( order Of course, you can always hire a dedicated server (a computer just for you), where you can hire the RAM, disk, and so on. etc that you need, but at a price always higher, because the prices of servers always exceed, exaggeratedly, what the same computer would be worth if you buy it on your own.
At the end of the day, web hosting, hosting, It is the first and vital investment in your website, and something you should not skimp on. It's your house, and why would not you choose a poorly communicated, old and leaky place for your business? because that, choose a good hosting for your WordPress .
… Optimization of images …
One of the elements that overloads a web, and slows down its complete visualization, are the images.
The texts occupy little space, few bytes, but the images, if you neglect, "weigh" several kilobytes, or even " megas ", so if your cover shows – let's say – 10 entries, and each one has at least one 200 kb image, you cover " will weigh " 2 Mb which, depending on the visitor's connection, can make your web take a lot of time to be completely displayed.
WordPress, on the one hand, create smaller copies of each image you upload, so you can choose to insert smaller sizes of the Of course, before you get to that you should avoid uploading images at high quality, because that's what you already have specialized web services for.
But if you're not conscientious in this aspect, or does not depend only on you, you can use a plugin like Smush-it which greatly reduces the size of your images, even if you have previously uploaded them.
And, lately, you are popularizing the use of services CDN which allow you to host your static content (images mainly) on an external server dedicated to these tasks, with speeds much higher than those of traditional servers, improving the load speed accordingly of your web
In addition, most of the services (advertisements, analytics, retargeting , etc) they encourage to include their scripts in the header of the web (
header.php ) with what until it does not load all the additional code does not begin to show your web, making the thing worse.
If you can not do without any of those wonderful codes, a quick solution is to move them to the footer (
footer.php ), which gives priority to WordPress loading your content, then running all those scripts so playful that they do so well to your website.
… HTTP and MySQL Requests …
Your WordPress is constantly making inquiries and requests for information to your hosting database and other sites to display the content, and these incoming and outgoing communications can arrive to clog your connection with the hosting, slowing down the whole browsing experience.
Here the solutions go through optimize-optimize-optimize and, in addition, use a plugin from cache. By optimizing I mean checking all the code of your site to know the incoming and outgoing communication routes of your website (plugins, theme, scripts, database) and reduce as many as you can.
But the The best solution for this problem is the use of cache. Currently there are wonderful plugins that deal with one or several web slowdown problems, and their use is based on making "fixed photos" of your site, which are the ones that will show instead of making requests and inquiries on each visit.
… Style sheets …
It is very common now for each plugin to use its own cascading style sheet (CSS), or for WordPress themes to use multiple style sheets.
] This, which is very convenient for the user who likes to customize their styles, slows the loading of the web, as there are more connections between the different elements of your website, just what we mentioned before.
Think a moment …
What goes faster on a road, a truck or 100 cars? " depends " you tell me, it depends on the roads, the speed of the cars or the load on the road. truck, right?
Well, the same thing happens in this regard, and there are theories for all tastes, which puts you in the same position as when we used to talk about the " minimization " of codes.
What always works is to minimize the CSS itself, eliminating what is left over, since each line of a style sheet is bytes, so that way you always go on safe.
And, in my opinion, it is always better to integrate the CSS of the plugins in your style sheet to allow multiple connections with the stylesheet of each plugin, something that most allow.
… WordPress Themes …
Avoid topics, therefore, that require the use of short codes (shortcodes) own and unique, and that need an excess of their own functions instead of take advantage of existing ones.
… WordPress Plugins …
If the themes are your showcase, the plugins are the WordPress salt and pepper, those small (or not so much) pieces of code that make your website more functional, fun, active and great than the rest.
Now, the excess or bad choice can cause just the opposite.
You will always find several plugins that serve for the same, and it is important that you choose the one that is better programmed, with less unnecessary code, which better use makes the internal functions of WordPress and less own style sheets required.
In many occasions you will discover that what pl does ugin is in a single line of code, and in those cases it will always be more effective, and resource-saving, add that function to your custom utilities plugin that will swell your list of plugins full of useless things.  But if you can not do without your plugins at least check the performance of those you have installed with utilities like P3 and decide the loading order of them.
are the main possible culprits of a slow WordPress list to which you can add what you tell us, and no, there is no definitive and only solution for all. A summary of everything said above, to have your WordPress optimized and fast would be something like this:
- Choose a good hosting
- Optimize images
- Use cache
- Choose an optimized WordPress theme
- Select and analyze the plugins you need