Revert to submitted form in Firefox 10: warning without cache / expired

When I submit a form in Firefox 10.0.1 (for example, I’m editing a Wikipedia article) and return via the back button, I get a warning that the form has expired or is not cached.

How can I disable this to behave as before (the completed form is filled again)?

Immediate error message: http://i.imgur.com/1u6N8.png

Erlochen Document

Dieses Dokument ist nicht mehr verfügbar.

Das angefragte Dokument ist nicht im Browser-Cache verfügbar.Als Sicherheitsmaßnahme fragt der Browser um vertrauliche Dokumente nicht automatisch erneut an.Klicken Sie "Nochmal versuchen", um das Dokument erneut deron

+4
source share
2 answers

I have the same problem: unsaved form content is lost when I receive this warning. This was not the case with older versions of Firefox (there I received a different warning, and I could return to my unsaved content)

At Mozillazine, someone suggests that the site add a Cache-Control: max-age=600 header Cache-Control: max-age=600 to prevent this. I do not know if this is appropriate or works.

Same thing in this thread in PHP Freaks .

+1
source

As a guy from the mozillazine.org forum suggested, I tried to set the maximum age in cache control, and it works really. However, website developers need to do this work, and it depends on the form, if it makes sense to control cache control. Personally, I would disable this behavior in the Firefox configuration if I knew how to do this.

+1
source

Source: https://habr.com/ru/post/1395970/


All Articles