1

So. I have two pages. On page "A" I use axios request to the server, I write GET parameters to url via history.pushState(null, null, response.request.responseURL).

When I go to page 'B' and press the 'back' button, I see a json response instead of a page.

When I disable cache via devtools, then everything works fine.

How can I disable caching on page "A"?

p.s This behavior is only in Google Chrome.

Alex
  • 369
  • 2
  • 17

0 Answers0