Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
How do locally generated files work and how do I implement them?

How do locally generated files work and how do I implement them on server and client side?

What I mean by "locally generated files" is when you download a file from Google Drive it is fast, really fast on bad networks.

Download from google drive

But on other sites (like downloading Windows from Microsoft) it utilizes the network to the fullest.

Downloading windows

To give one more example, look at fastest fish. Network files download use the network to their fullest.

Network files from fastest fish

But what is puzzling is how fast the same file using locally generated option is. It actually finished downloading while I was editing this snip.

Like how cool is that downloading 1 GB in less than 10 seconds?

Locally generated option from fastest fish

To quote them

These locally generated files will download much quicker than the network downloaded files since their content's are generated on the fly. Their download speed is restricted only by your device's processor and storage drive speed.

What is puzzling for me is where do they get the extra information on bad networks, like where does it get more information from a 200kbit stream?

  • It isn't file compression
  • You can't hardcode it in the HTML as it won't load the page from the servers

So the main question:

How do I implement this cool feature in a Node.js server and serve it at high speed in bad network connections?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda