We have a WP website with sage10 theme.
It is slow - 5 sec on very fast server with fast CPU, SSD disks etc.
We have LAPS / LAP plugin and it shows that “Themes Load” takes 5 sec. This is on HTML page, nothing to do with CSS, JS or downloading the content to the web browser.
Because the theme is made by someone else, I tried to debug laravel code, and found that all this time is spent when laravel try to “prepare” / instantiate the blades (templates). I can imagine the code go to each template on the disk and validate it.
This is done before WP caching layer (is executed even before wp-admin), so putting WP level cache plugins will not help (however nginx level cache will theoretically help)
Any idea what we can do in order to debug where the bottleneck is and speed up?