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

140
Vistas
Javascript, How should I refactor my local storage approach to send values to a different computer

Good evening,

I am currently running a website. On my website, when one of the user's clicks on a link, HTML is stored in local storage for that user and the link opens up in a new tab, and grabs the HTML that is stored in local storage, to render the page on the new tab. The issue is that, If the user sends the URL to someone else, the person who received that URL, will not be able to view the page, because the HTML for the page is stored in the local storage for the first user. What is the best way to fix this, so that the User who recieves the URL can view the webpage?

What i can think of right now is instead of using local storage, making an API call that sends back the HTML when a user visits the link.

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