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

206
Vistas
Serve page from cache on navigation back

Basically what I want is this: https://dev.to/videos

You can select an item -> new page with item loads -> you click on backward button -> the old page is loaded from cache

I want that the same search page shown to user on navigation back, without calling the async fetch method again.

A solution seems to be SPA? But that is an enormous overhead. I know how to do this with SPA. I need way without SPA.

iPhone, Android and Safari have a backforward-cache enabled by default, so no problem there. Static pages also don't have any problems.

I don't need any excact JavaScript code. I just want to know how do other websites solve this problem? Is SPA the only way? Are there any "frameworks" to solve this problem?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If server allows the page to be cached, your browser won't send a request again before the page expires.

https://stackoverflow.com/a/36554152/14263615

about 4 years ago · Juan Pablo Isaza Denunciar
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