You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: validate that cached files on disk are fresh (#85)
If a logged-in user generated a file, LAST_TIME_RENDERED was set,
but the cache on disk is not written. Now if there was an older
version of the cache still on disk, on next request from a visitor
that is not logged-in, the old cache would be served.
Validate that the time set in LAST_TIME_RENDERED is in fact also
the time of the cache-file on disk. If not, the file on disk is
stale and a new page should be rendered.
Fix: only try to load a cache file from disk if the file exists (#84)
This could happen if the first time a page was loaded, was done
by someone who was logged in. This does update LAST_TIME_RENDERED
for browser if-modified-since caching, but does not write the
file to disk. If a non-logged-in user visit the page after, the
page is not on disk.
Fix: remove {{PAGENAME}} variants from error page
With this, you could escape the wikitext and insert your own text.
Validation on the Page name would fail, but as the error page would
render it as text, it would be shown to the user. This is unwanted,
and as such, we now no longer print it.