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

170
Views
How to refresh HTTP request cache?

Current state

Many answers exist for

  1. Refresh page cache but not the javascript-issued requests' cache
  2. Issue cache: false ajax request
  3. Set Expires header at server-side

Goal state

However, is there a way to do either of the following at client-side?

  1. Refresh the page without (page cache AND requests cache); in fact, the CMD+SHIFT+R reload achieves this purpose on Edge(Mac OS)
  2. Make an ajax request not only retrieve new data(by new timestamp) but also use this data to overwrite the original request cache.

Example: after page /names loads, Javascript GET /api/names?id=<id>; ajax method would GET /api/names?id=<id>&_=<timestamp>, but this does not refresh cache for/api/names

Purpose

Use cache to increase load speed, while also preserving users' flexibility to retrieve updated data.

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