Sometimes you might want to edit a tiddler directly on the filesystem in the data store. If you do this you may find that the changes do not show up the next time you load the Tiddler from a browser.
When
TiddlyWeb presents content to a browser it sends it with an Etag. This Etag is then used by the browser to validate future requests to see if it can use what's in its cache. The Etags are calculated from the metadata of the tiddlers (title, modified time, revision number), which don't get changed when you edit them in place in the store.
To force the Etag to change you need to do one or two things, depending on how you are accessing the Tiddler or Tiddlers:
- If you are most concerned with forcing the wiki that is generated to update, change the modified field on the tiddler
- If you want to make sure that the individual tiddler will reload in the browser, save your changes as a new revision (i.e. if you loaded 1, write it as 2).
In most cases it is the first thing that will matter.
See
the original trac ticket.