FlushCache

Clears all cached templates from memory.

To flush WebDNA's template cache, use a web browser to link to a URL containing the FlushCache command. Whenever WebDNA receives a FlushCache command, it immediately removes any 'memorized' pages from memory. Newer versions of any HTML or template files that have been modified on disk will be used the next time a browser links to those pages.

Example (normally you would link to a URL or form containing the following information):

http://yourserver.com/xx.tpl?command=FlushCache

A confirmation message appears after flushing all the templates.

Here are some other ways to send the same command:
HTML Source Description
<a href="/WebCatalogEngine/WebCatalog.acgi?command=FlushCache"> Hyperlink to WebDNA CGI.
<a href="xx.tpl?command=FlushCache">
Hyperlink to WebDNA plugin Action.
<form method="POST" action="xx.tpl">
<input type="hidden" name="command" value="FlushCache">
<input type="submit">
</form>
Form-based command to plugin Action
(notice the template is part of the action).