Is the value of the 'lengthComputable' attribute always false when loading the glb model?

Is the value of the ‘lengthComputable’ attribute always false when loading the glb model? What should I do if I want to calculate the progress of loading the glb model

LengthComputable will get its value from the underlying XMLHttpRequest: ProgressEvent: lengthComputable property - Web APIs | MDN (mozilla.org). From this javascript - Why is ProgressEvent.lengthComputable false? - Stack Overflow it seems good to check if the Content-Length property is being returned.

1 Like