Why does Facebook use javascript for their BigPipe and Pagelets?

Discussion in 'JavaScript' started by G3n3s!s, Nov 20, 2011.

  1. #1
    G3n3s!s, Nov 20, 2011 IP
  2. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #2
    its faster to load..
     
    JohnnySchultz, Nov 22, 2011 IP
  3. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    I think you didn't get me. I know that bigpipe and pagelets are designed to make loading time faster, but I don't know, why do they use their javascript in order to deliver pagelets to their place when they could just do

    <?php ?>
    some html here
    <?php 
    flush();
    ?>
    PHP:
     
    G3n3s!s, Nov 23, 2011 IP