Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

204
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!