Answer the question
In order to leave comments, you need to log in
Browser caching of form data, why is this happening?
Hello. I came across one strange situation in Joomla, on the general settings page.
For some reason, the browser caches the entire content of all fields on this page.
For example, I go to the general settings. All fields are "substituted" with the values stored in the configuration.php file
Let's assume that the site is called "My Site" (input "site name"). I want to change it and write "My Site 2". I press the "save" button, the form is sent and, for good, after reloading the page, I should see a new value in this field - "My Site 2". However, "My Site" still remains there.
It's clearly not about the access rights to the config. the data is written there correctly, in addition, after a couple of page refreshes, the new value finally appears. By the way, it's strange, sometimes on F5 the data is updated from the first time, sometimes from the second or third. CTRL + F5 of course always works the first time. This is clearly some kind of browser cache.
Actually the question is what it can be connected with and how to deal with it?
I noticed that on some hostings this also occurs, but on some it does not. For some reason it is on the configuration page.
I compared the titles, they seem to be the same everywhere. Response Headers:
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Thu, 01 Nov 2018 07:03:29 GMT
Expires: Wed, 17 Aug 2005 00:00:00 GMT
Last-Modified: Thu, 01 Nov 2018 07:03:29 GMT
Pragma: no- cache
Server: nginx/1.14.0 (Ubuntu)
Transfer-Encoding: chunked
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question