Is there code you can include in the tiddlywiki that disables the
browser cache for that page, or otherwise forces it to reload and read
the most recent wiki?
No, that's not possible (at least I can't think of anything).
Have you tried force-reloading the page by using CTRL+R or SHIFT+R?
-- F.
Try adding the following in [[MarkupPostBody]]:
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
I didn't know about those meta tags until now - thanks Eric!
But shouldn't that code go into [[MarkupPostHead]], without the
additional <head>...</head> tags?
-- F.
Actually, no. Because of the way InternetExplorer implements their
cache, these meta statements have to occur toward the *end* of the
document, so that at least 64K of the file has been loaded into the
browser's buffer before the "Pragma" and "Expires" statements are
processed. In addition, in order for them to work at the end of the
file, they have to be enclosed in a seemingly misplaced <head>...</
head> block.
-e
Of course, IE requires special treatment again - I should have guessed
that...
Thanks for the insight.
-- F.
What's the recommended way to do no-cache in TW 5? I'm finding I'm having to tell people all about shift-command-R and I'd rather not ...