Are you talking about preloader taking a long time to hide? If so, then it is happening because you have lazy loaded the JS file which is responsible to hide it:
Preloader hides after file is downloaded, executed, and 1 second has passed (delay defined in JS). Exclude it from lazy loading, and remove/fix these 404 and 401 requests as well:
To troubleshoot this issue, check the error logs using the browser’s developer tools (F12). This will help you identify any messages in the Console section that might explain the issue. You can also enable WordPress debugging mode and check the error logs of your web hosting. If needed, contact your hosting support to help you resolve the issues.