Hi everybody,
I am trying to make some changes to the Mediawiki software. It apears that there is some kind of caching that I do not understand. If I make changes to one php file it will not be imediatelly affected if I refresh the browser window. Only if I include an php error into that file and remove it again the refresh shows the changes.
Any ideas where to disable this?
Thank you in advance,
Merlin
Merlin wrote:
I am trying to make some changes to the Mediawiki software. It apears that there is some kind of caching that I do not understand. If I make changes to one php file it will not be imediatelly affected if I refresh the browser window. Only if I include an php error into that file and remove it again the refresh shows the changes.
Any ideas where to disable this?
First, you shouldn't need to do this in the first place. Force the browser to refresh beyond a 304 Not Modified response by holding the ctrl or shift keys (depending on browser) along with clicking the reload button.
More simply, do your testing with an edit preview or a special page that doesn't cache.
If you really need to disable HTTP client caching for some reason (or the internal parser caching), see DefaultSettings.php for the list of all configurable settings that you can set in LocalSettings.php
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org