Y
Hacker News
new
|
ask
|
show
|
jobs
by
Etheryte
3272 days ago
Why would you _want_ a synchronous, blocking script in the first place?
1 comments
kpsychwave
3272 days ago
For conditionally loading other blocking assets in JS.
For example, if IP is in China, local fallback for Google CDN as it will fail.
link
Etheryte
3271 days ago
You can also do all of these things asynchronously, without blocking the whole page.
link
kpsychwave
3268 days ago
Yes but like all async ops not without expense to the UX.
link
For example, if IP is in China, local fallback for Google CDN as it will fail.