How to avoid the error “the Document is overdue sending” POST?

Good afternoon.
Sending data by POST method sorts the result.
The transition from the sorted page links everything is OK!
When you press the back button in the browser (Mozilla) issue

The document is overdue
 This document is no longer available.
 The requested document is not available in the cache of Firefox.For security reasons Firefox does not automatically re-request sensitive documents.Click "Try again" to re-request the document from a web site.


Chrome

Confirm resending of form

 ERR_CACHE_MISS


As I understand it this is due to the POST-REDIRECT-GET. That is, error 301 or 302, that would not to perform a POST request how can I solve this problem in Yii2?
July 9th 19 at 10:46
2 answers
July 9th 19 at 10:48
The use of a POST involves changing data on the server, so the browser and save the page in the cache. You are sure that the use for sorting POST, not GET justified?
July 9th 19 at 10:50
After POST-processing of all the data on the server do NOT IMMEDIATELY OUTPUT, and redirect to another page for output.
For example, at the end of processing all POST parameters write location('/listView.php');exit;
After that, the browser will be redirected (301) to another page to display results sorting.

Find more questions by tags Yii