I've been maintaining a PHP/SQL e-commerce application and the customer has called about their ttfb jumping up to almost 3 seconds consistently.
What I've tried:
- Creating a test.php page to just echo some text produces a 30ms ttfb.
- Traveled back in the commit history and checked if any recent changes could have been the culprit.
The test page loading quickly leads me to believe that it's some sort of query or logic that runs on every other page on the site (auth?), but none of the recent commits since the jump in ttfb have had any effect. How could this just randomly happen?