So I've been puzzling over something for a bit now. I believe this shows the story best:
Debugger Timeline
That only happens with the site being live. I have developed a child theme locally and am using a Vagrant box (provisioned with a Homestead per-project setup) which runs Nginx. On the VM, the Render time is inline with what it should be <100ms. However, as soon as I push it up to MediaTemple, the render time goes to 10+ seconds with averages being 30 seconds (not milliseconds).
I've tried disabling almost every plugin, including the admin panel, but nothing seems to make a difference. Overall, the performance improved when I disabled my child theme and went with the parent Twenty theme. This is how I have my child theme declared:
enabled: true
streams:
schemes:
theme:
type: ReadOnlyStream
prefixes:
'':
- user/themes/childtheme
- user/themes/twenty
I've kept an eye on grav.log, but the main issue there is one in admin.php line 295 which is throwing the error:
Call to a member function isUpdatable() on a non-object
I have OPCache enabled on the server and MediaTemple's GRID service is run with SSD's and typically does quite well with serving pages quickly.
I'm not sure where to look into this problem. The admin load times are just as slow as the frontend.
Are there problem spots that I should look for in my child theme that might be slowing it down? Any ideas on how I could rectify this elusive issue?
Thank you!