So we put all our custom script in GitHub pages file and imported it in footer section with
The code works on desktop but it’s not loading on some mobile devices (android)
When I connected the phone to PC and using chrome://inspect/#devices
opened the console, I see a warning:
“The resource was preloaded using link preload but not used within a few seconds from the windows load event.
Please make sure it has an appropriate
as value and it is preloaded intentionally.”
For testing purposes, I made a new .js file that has only one console.log(‘aaa’) statement
and it shows on desktop but not on mobile, got the same warning.
Any idea why is this file preloading on mobile and how can i prevent this?