Reputation: 364
When I started developing with Symfony on Windows it worked pretty well at first, but lately the profiler is taking way too long to load the toolbar.
The profiler is taking 18.48 seconds to load (day:116).
I didn't find anything helpful online, does anyone know what might be causing this?
Upvotes: 2
Views: 844
Reputation: 364
Ok, this is super weird, but after I did a JSON request (that returns a JsonResponse) everything turned back to normal. I have no idea why this had an effect at all, since this problem persisted over hours and server restarts did nothing. Anyway, I hope this might help someone else in the future.
Edit: The problem returned after a while, and there didn't seem to be any fix. I was using XAMPP on Windows 10 with Xdebug, APCu and OPcache. My hardware was definitely not the problem, I was running the server on a really beefy machine.
Kind of fix for people with the same problem: I started using a Ubuntu VM, and it never happens there, even though I use the exact same code and server setup aside from the OS.
Upvotes: 1