Delay JavaScript Header Issue

Hi,

We have WP Rocket and we’re using the Delay JavaScript Execution. This seems to be causing an issue for the header elements - search and menu hamburger execution specifically for mobile devices on a very slow internet connection (testing in Network w/slow 3G).

What would the JS file be that would include the header so that is not delayed?

Thanks and regards,

Josh

Hi Joshua,

Thanks for reaching out!

You could try this URL to exclude in your WP Rocket settings. Please note that site speed optimization is outside the scope of our theme support.

Pro:
/wp-content/themes/pro/cornerstone/assets/dist/js/site/cs.2155f74.js

X:
/wp-content/themes/x/framework/dist/js/site/x.js

Hope that helps and let us know how it goes.

1 Like

Thank you for that! I appreciate it.

Hi Joshua,

You’re welcome! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thred.

Thank you.

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