
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
DBCacheContribReusable code that caches Foswiki topics, and provides fast | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
DBCacheContribReusable code that caches Foswiki topics, and provides fast | ||||||||
| Line: 1 to 1 | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBCacheContribReusable code that caches Foswiki topics, and provides fast | |||||||||||||||||||||
| Line: 42 to 42 | |||||||||||||||||||||
by reading the metadata from the topic (see MetaData)
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Line: 52 to 50 | |||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Added: | |||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
MyForm. This is a reference to a Map containing a key for each | ||||||||||||||||||||
| > > |
MyForm. This is a reference to a map containing a key for each | ||||||||||||||||||||
| field in the form. Each key maps to the value in the form data for | |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
that key. The Map will also have an _up reference to the Map for
the topic. | ||||||||||||||||||||
| > > | that key. | ||||||||||||||||||||
| |||||||||||||||||||||
| Deleted: | |||||||||||||||||||||
| < < |
The sub-maps created for info, form name, moved, and each row in
attachments also have a reference back to the topic Map, called _up. | ||||||||||||||||||||
| Other fields may be added by subclasses. Refer to the documentation for the plugin that is using the DBCache for more details. | |||||||||||||||||||||
| Line: 112 to 108 | |||||||||||||||||||||
To achieve best perfomance the plugin caches the data read from topics in a
database. The database is stored in the work area for the DBCacheContrib (see
{WorkAreaDir} in configure). If any topic changes in the web, this | |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < | cache is automatically rebuilt (subject to configuration options). The cache can be deleted at any point with no ill effects. | ||||||||||||||||||||
| > > | cache is automatically updated. | ||||||||||||||||||||
Detailed DocumentationClients use the DBCache by defining a subclass of the | |||||||||||||||||||||
| Line: 132 to 127 | |||||||||||||||||||||
Contrib Info | |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Line: 150 to 157 | |||||||||||||||||||||
the normal grep-based SEARCH does. Foswiki:Main.MichaelDaum |
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
| Line: 182 to 189 | |||||||||||||||||||||
| |||||||||||||||||||||
| Changed: | |||||||||||||||||||||
| < < |
| ||||||||||||||||||||
| > > |
| ||||||||||||||||||||
| |||||||||||||||||||||
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.