How do I fix err CACHE miss php?

Whenever I click return in the browser navigation appears the message to confirm the form resend and the error: ERR_CACHE_MISS.

How do I make sure that when I click to return on the previous page it does not ask for this confirmation?

Already tried to put in header:

<meta HTTP-EQUIV="Pragma" content="no-cache"> 
<meta HTTP-EQUIV="Expires" content="-1">

But it didn't work, any tips?

 0
Author: MagicHat, 2017-05-18

1 answers

This has no relation to PHP. This is the default browser behavior.

When a page submits data by the POST method, that data needs to be submitted again when scrolling back. If the submission is canceled, the browser displays messages like this below:

insert the description of the image here

Chrome browser.

 2
Author: Daniel Omine, 2017-07-26 15:13:53