Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

127
Visualizações
How online in browser Code Editor like Code sandbox stores files in browser?

How code sandbox and stackblitz like online in browser code editors store the files in the browser?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

There are various storage APIs available in all major web browsers, Introduced in what's commonly thought of as being part of HTML5. Nowadays, may of these technologies are extending beyond HTML5 - and are growing into standards of their own.

These include:

  • LocalStorage (persists between page loads)
  • SessionStorage (goes away between page loads),
  • IndexedDB (a SQL database in which the browser stores content specifically for that website) - also persists between page loads.

There are various sizing limitations (such as 5MB for localStorage and sessionStorage).

Learn more about IndexedDB (basically an SQL database), here: https://www.w3.org/TR/IndexedDB/

about 4 years ago · Juan Pablo Isaza Relatório

0

@Derrick's answer is good when it comes to web storage, but it doesn't explain how the code editors do it. If you are interested in how they do it, that would require a backend. Many cloud/backend storage providers, such as Amazon S3, enable them to store the files and then run them in a server on a VM on their own backend after transferring them to the frontend for you to edit. Once you edit them, it re-saves them to the storage backend. This allows them to persist an indefinite number of files for an indefinite amount of time.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda