Comments (5)
The base idea of Bigpipe is that the pagelets are injected asynchronously, so none of them block each other. Actually, the way JS scripts are included makes the browser request them asynchronously.
You can try adding a delay in the generation of one of the pagelets, and see that the server still returns (and the browser renders) the other one first.
from bigpipe.
Actually I have tried it before,I set the pagelet 1 return the result immediately,and set the pagelet2 with a long-time delay ,but browser was waitting for data until pagelet2 return the result
from bigpipe.
Like you mentioned fragment of javascript,I know BigPipe will send the data into browser with padding like "JSONP" method.I think that is what we need——“Chunked” and “Asynchronization”.
But,Javascript can only operate the data what has be sent (or flushed by server).I will test it more,I hope we can share more information,Let me thank you in advance.
from bigpipe.
As you can see,I set two pagelet with a different interval.And browser show the message like this below.
from bigpipe.
OK,After many searching,I found the point:gzip compression.
I turn off the gzip in web.config,now It's worked.
Anyway,thank you for your post again.
from bigpipe.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigpipe.