Because context matter most, there’s no clear definition or specific set of instructions that just makes it blazing fast. In most cases bigger and smaller changes, such as the ones below, will help you achieve a better performance for your site. The big guns These below are suggestions that will make the biggest impact on […]
Topic: Performance & Speed
Making the site fast, and diagnosing it when it is not.
Making the site fast, and diagnosing it when it is not.
6 articles
Increasing the WordPress Memory Limit
To address memory limit issues, there are two paths: Adjust yourself Contact your hosting company Do It Yourself To adjust on your own, here are some methods to try. Be aware that this section requires advanced knowledge; it is not basic. Edit your wp-config.php file Add this to the top, before the line that says, “Happy […]
Mobile improvements
If you’re running WPRocket plugin, you can access Settings › General › Advanced › Performance and find an option called “Add Mobile Improvements” eg: screenshot . This option only works if WPRocket’s “Mobile Cache” & “Cache Separately” are enabled eg: screenshot . The option will enable a few functionalities such as: Overriding the mobile images […]
Slow TTFB, how to debug?
This usually happens because of several reasons, such as a lot of background processing, the database is too slow or there are external API calls made. It’s uncertain what causes this, but it depends entirely on the context of the website, where it’s hosted and what’s loaded inside. It could be a faulty plugin, or […]
Excluding cookies from cache
Try checking if your caching plugin supports excluding cookies from being cached. For example WPRocket has an option and more docs on this topic https://docs.wp-rocket.me/article/1382-never-cache-cookies . As an example for a cookie, “woocommerce_recently_viewed” is used for Recently Viewed product grids and it stores the products that were visited. Try adding it to the cookie exclusion […]
Unusual CPU high usage/overload causing MySQL server failure
Some customers have reported CPU high usage and overload causing slow MySQL queries and even crashing it. In all cases the problem was not caused by Rey, but instead from other plugins which were making WooCommerce’s and Rey’s transients to constantly refresh. The Transients API in WordPress is an important tool for developers to cache […]