Content
@
0 reply
0 recast
0 reaction
timdaub
@timdaub.eth
On an old, bad hardware Android phone my site behaves badly. - it loads the DOM - then it loads the JS, but during some time the user cannot e.g. scroll the page - then when everything is loaded it works again. First of all, I find this strange because shouldn't these two things work separately on Chrome. But anyways, how would you debug this (it's on an old Android)? Chrome debugger and then profile what's going on?
2 replies
0 recast
7 reactions
jtgi
@jtgi
Ya id profile with chrome and look at flame graphs. Assuming you’re not running any blocking scripts on page load, parsing js is cpu intensive and likely blocking main thread. code splitting can help, if u care enough.
1 reply
0 recast
1 reaction
timdaub
@timdaub.eth
this ended up being the way
0 reply
0 recast
1 reaction