The cachinghoster plugin replaces the default '/' URL handler with one that presents two different TiddlyWikis depending on the status of the current user. If the user has a defined role, they get an editable wiki. Otherwise they get one that is read-only.

It is called caching hoster because the plugin maintains an on disk cache of the generated wiki so that it can serve the wiki as a static file or if the browser has seen the wiki before (and it has not changed) just send an HTTP 304 response.

Find it at github.

This is a fairly complex plugin which requires good understanding of TiddlyWeb, HTTP and Unix file handling concepts.