It’s so slow that I had time to take my phone out and take this video after I typed all the letters. How is this even possible?

    • Kiernian@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      Heh. Can you imagine how fast Facebook et al would have to scale this stuff back if there were some kind of law that stated that any of their code other than css and html had to be executed on their own servers rather than in each user’s browser?

      The CPU/RAM offload of using every end user’s browser/device instead of their own server cycles for this has to be immense.

      • stom@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        That would be amazingly impractical. May as well say “what if all website were forced to be .txt files”.

        Most website template frameworks (Bootstrap/Foundation) etc rely on Javascript for basic UI features. Imagine having to wait for the server to toggle a simple CSS class on your page any time the user wants to view a menu, togle a button, or view a popup/modal/lightbox/whatever.