Overview
You are experiencing >20 second page load times before you can scroll down the page. You suspect a custom script in the Master Page is causing these issues but are uncertain where the Master Page resides. You would like to remove the script below that you found in the Index File.
Solution
- Open the Developer Tool and go to the Network tab. Refresh the page
- Check if the same script is also in the Network tab
- Check if the script is inserted in the "bonzai.master" page. You can find this page by navigating to Site Settings > Master Page Gallery > Bonzai
- Make a copy of the master page before making any changes
Testing
Check if the page now loads normally.
If this does not resolve the issue, please contact Bonzai Support and send the HAR file by following the steps in the article Generating a HAR file for troubleshooting.