Slow website - theme/x/template_blank-1.php causing problems

Hi,

I’ve been looking into my website and what’s slowing it down with help from my host, and they came back with the following comment -
‘While profiling the website we saw that functions being called by the HummingBird plugin and by the theme/x/template_blank-1.php are taking a very long time to execute causing delays in your website.’

Is there anything that can be done to somehow fix this? The hummingbird thing is separate I assume - just looking for an answer for the theme/x/template_blank-1.php bit. Note that I’m a total rookie - not at all a developer, I only use the front end cornerstone editor - so keep it simple if you can!

Thanks!
Siobhan

Hi Siobhan,

Thanks for reaching out about this. I’m not quite sure we have enough information to know what could be going on here. This is the entirety of the code running in the template-blank-1.php file:

x_get_view( x_get_stack(), 'template', 'blank-1' );

It’s just a wrapper to start calling other files, unless you’ve edited it directly somehow, that file should run instantly since it just locates the appropriate stack template and includes it. Perhaps the profiler considers all code inside that to be part of it? In that case, that eventually end up calling all the code to load the front end on any pages that use that page template. From a percentage standpoint that could naturally be fairly high without it meaning anything for performance. Or there’s something in those code paths slowing things down but we don’t have enough information to really know what that is. From here I’d advise asking your host if there’s anything more specific they can see using up resources considering that template file is benign.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.