Hi there
I'm just hacking around in my mediawiki setup and try to do some kind of
"smart"
include. Means I'm having a namespace where the articles ("events") can be
saved
in "YYY-MM-DD_title"-format and a {{tag}}-include (coded in Parser.php) that
automatically shows the titles of "today's" events.
Now the problem is, that the browser seems to cache the results. So if I create
an event with today's date in the appropriate namespace, and put a
{{tag}}-include on the sandbox-page it shows the entry (that's ok so far).
Now the problem is, that if I create a second event, the sandbox still shows
only one event and:
- If I do an "edit" on the sandbox page, the 2nd event appears.
- It also appears when I clean the browser-cache and reload the page.
- Doing a "hard-refresh" with shift-reload won't show the 2nd entry.
- All other caching mechanisms are deactivated.
Unfortunately I don't recognize the HTML-tag for this caching-stuff - the
browser I'm using is firefox so maybe this caching has something to do with the
browsers default settings.
Someone knows a solution for my problem which will only deactivate the browser's
caching on the pages using that include? Some kind of additional header
informations?
Regards
Joel