bigpipe / bigpipe.js

The client-side library which is used in BigPipe to orchestrate the pagelets.
MIT License
20 stars 6 forks source link

Feature detecting onload #6

Closed Swaagie closed 10 years ago

Swaagie commented 10 years ago

Should be done before polling is started. Usually loader.js will defer to polling since feature detecting via a quick link.href with base64 encoded content still takes to long.

Swaagie commented 10 years ago

Talking about this code btw

Usually polling will be started for all files, cause the single base64 test will be done too late

3rd-Eden commented 10 years ago

https://github.com/bigpipe/async-asset/blob/master/index.js#L97-L99 done