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

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 […]

CONTINUE READING Mobile improvements 1 min read

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 […]

CONTINUE READING Slow TTFB, how to debug? 5 min read

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 […]

CONTINUE READING Excluding cookies from cache 1 min read

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 […]

CONTINUE READING Unusual CPU high usage/overload causing MySQL server failure 1 min read