Hi everyone,
I’m hosting my restaurant-focused website on Kinsta it mainly features Texas Roadhouse menu updates, food reviews, and restaurant guides. The site has been performing well for the past few months, but recently, I’ve been running into serious performance issues. During peak traffic hours (especially weekends), users report slow load times, and sometimes the site throws 502 or 504 gateway errors. It’s intermittent but happens often enough to affect user experience and SEO rankings.
When I check the Kinsta dashboard, I can see CPU usage spiking close to 100%, and PHP workers occasionally max out. I’ve tried increasing the number of PHP workers by upgrading my plan, which temporarily improved things, but the issue returned a few days later. What’s odd is that the traffic volume hasn’t changed drastically — I’m averaging about 10k visits per day, mostly organic from Google. The slowdowns seem to coincide with bursts of simultaneous requests to my “Texas Roadhouse Early Dine Menu” and “Coupons” pages, which both use dynamic queries from my WordPress database.
I’ve already taken some optimization steps. I’ve enabled full-page caching in Kinsta, optimized my images with WebP, and added a CDN through Cloudflare. However, I still see large spikes in Time to First Byte (TTFB), sometimes over 3 seconds. The site uses the Rank Math SEO plugin and a few restaurant menu plugins that rely on custom post types and REST API calls could these be causing database bottlenecks or excessive queries during cache refresh?
Looking at the access logs, there are occasional bursts of requests from the same IPs, mostly from mobile users, which makes me wonder if some script or caching conflict is triggering unnecessary regeneration of cached pages. I’m also seeing recurring database queries in Query Monitor that take several seconds to complete. They seem related to fetching dynamic restaurant menu data and coupons. I’ve already tried enabling Object Cache, but I’m not sure if Redis would make a big difference here or if I should be using something else entirely.
I also ran a GTmetrix and Kinsta APM report, and both point to long PHP execution times during peak hours. My hosting plan currently uses PHP 8.2, and I’ve confirmed that plugins and themes are all compatible. I’m just unsure whether the bottleneck is from WordPress itself, the plugins, or the MySQL database under load. The APM traces show frequent “admin-ajax.php” calls, which might also be a contributor.
Has anyone here experienced similar 502 errors or sudden slowdowns despite caching being enabled? Should I be looking into Redis Object Cache or limiting backend API requests to stabilize performance? I’d love to hear how other Kinsta users have optimized dynamic WordPress sites with frequent content updates especially ones that rely heavily on menus or data-driven pages. Sorry for the long post!