Making the felt & objective speed of piwik sites faster
via using big pipe concept:
BigPipe allows speeding up page rendering times by loading the page in small parts called pagelets.
This allows browser to start rendering the page while the php server is still processing to finish the rest.
This transforms the traditional page rendering cycle into following steps:
1) Browser requests the page from server
2) Server quickly renders a page skeleton containing the <head> tags and a body with empty div elements which
act as containers to the pagelets. The HTTP connection to the browser stays open as the page is not yet finished.
3) Browser will start downloading the bigpipe.js file and after that it'll start rendering the page
4) The PHP server process is still executing and its building each pagelet at a time. Once a pagelet
has been completed it's results are sent to the browser inside a <script>BigPipe.onArrive(...)</script> tag.
5) Browser injects the html code received into the correct place. If the pagelet needs any CSS resources those are
by those pagelets.
informations and an implementation for php sites
another example is the implementation for magento: https://github.com/sitewards/BigPipe
Thanks for the suggestion!
but because Piwik is already built piece by piece using ajax, I think it's not really required to do this.. it wouldn't make it much faster as if Piwik was generating all content as one page.
There was an great article about this topic in the latest t3n Paper magazine.
They show some (unspecific) comparisons of pages