207f83438754f07909b0bc99ca3c66593f24e018
FAQ/Questions/Caching.md
| ... | ... | @@ -8,7 +8,7 @@ What kinds of caching does Izenda use? Can I update the cache? |
| 8 | 8 | |
| 9 | 9 | ##Answer |
| 10 | 10 | |
| 11 | -Izenda caches all your reports and schema information automatically per browser session. By default, caching is stored in memory and in the temp folder of the server that Izenda is hosted on. Here is a list of the caching methods that are available in case you wish to manually update the cache, although generally the cache will self-update as needed. |
|
| 11 | +Izenda caches your reports and schema information automatically per browser session. By default, caching is stored in memory and in the temp folder of the server that Izenda is hosted on. Here is a list of the caching methods - and links to their individual articles - that are available in case you wish to manipulate the cache, although generally the cache will self-update as needed: |
|
| 12 | 12 | |
| 13 | 13 | ###FilteredListReports |
| 14 | 14 | |
| ... | ... | @@ -16,11 +16,11 @@ The [[AdHocConfig.FilteredListReports|http://wiki.izenda.us/FAQ/FilteredListRepo |
| 16 | 16 | |
| 17 | 17 | ###InvalidateFilteredCaches |
| 18 | 18 | |
| 19 | -The AdHocConfig.InvalidateFilteredCaches() method will clean up the results cached in the FilteredListReports method and can be called manually if needed. Like, for instance, when the XML definitions of one or more reports change outside the environment. |
|
| 19 | +The AdHocConfig.InvalidateFilteredCaches() method will clean up the results cached in the FilteredListReports method and can be called manually if needed. For instance, when the XML definitions of one or more reports change outside the environment. |
|
| 20 | 20 | |
| 21 | -###DataCache Interval |
|
| 21 | +###DataCacheInterval |
|
| 22 | 22 | |
| 23 | -Sets the number of seconds between cache refreshes. Example: ``AdHocSettings.DataCacheInterval = 60 * 24 * 30;`` |
|
| 23 | +[[AdHocSettings.DataCacheInterval|http://wiki.izenda.us/API/CodeSamples/DataCacheInterval]] sets the number of seconds between cache refreshes for FUSION (HTML) cache. Example: ``AdHocSettings.DataCacheInterval = 60 * 24 * 30;`` |
|
| 24 | 24 | |
| 25 | 25 | ###InvalidateSchemaCache |
| 26 | 26 | |
| ... | ... | @@ -28,7 +28,27 @@ The AdHocContext.Driver.InvalidateSchemaCache() method will update the schema fo |
| 28 | 28 | |
| 29 | 29 | ###InvalidateSchemaOnNew |
| 30 | 30 | |
| 31 | -The AdHocSettings.InvalidateSchemaOnNew is a Boolean which tells the system if it should should update the schema for database changes when a new report is being created. This is useful for environments where the database is constantly changing. |
|
| 31 | +[[AdHocSettings.InvalidateSchemaOnNew|http://wiki.izenda.us/API/CodeSamples/InvalidateSchemaOnNew]] is a Boolean which tells the system if it should should update the schema for database changes when a new report is being created. This is useful for environments where the database is constantly changing. |
|
| 32 | + |
|
| 33 | +###CacheQueries |
|
| 34 | + |
|
| 35 | +The [[AdHocSettings.CacheQueries|http://wiki.izenda.us/API/CodeSamples/CacheQueries]] setting is a Boolean (default is true) which tells Izenda whether or not the result set of a particular query should be cached. You can manipulate how long the query is cached using AdHocContext.Driver.QueryCachingTime (see the CacheQueries article for more). |
|
| 36 | + |
|
| 37 | +###CacheReports |
|
| 38 | + |
|
| 39 | +The [[AdHocSettings.CacheReports|http://wiki.izenda.us/API/CodeSamples/CacheReports]] setting is Boolean (default = true) which gets or sets the value indicating whether all loaded reports should be cached. |
|
| 40 | + |
|
| 41 | +###PerUserCaching |
|
| 42 | + |
|
| 43 | +The [[AdHocSettings.PerUserCaching|http://wiki.izenda.us/API/CodeSamples/PerUserCaching]] setting is another Boolean value (default = false) which determines whether or not a user-specific DatabaseSchema object is cached in the session for each user. |
|
| 44 | + |
|
| 45 | +###CacheSchema |
|
| 46 | + |
|
| 47 | +[[AdHocSettings.CacheSchema|http://wiki.izenda.us/API/CodeSamples/CacheSchema]] (default = true) is a Boolean setting which tells Izenda whether or not the DatabaseSchemaObject should be cached. By default, it is cached in memory (use PerUserCaching to store in session). |
|
| 48 | + |
|
| 49 | +###StoreImagesToCache |
|
| 50 | + |
|
| 51 | +[[AdHocSettings.StoreImagesToCache|http://wiki.izenda.us/API/CodeSamples/StoreImagesToCache]] will inform Izenda whether to store images to the disk (true) or session (false) during the rendering of a report. |
|
| 32 | 52 | |
| 33 | 53 | ###CleanUpCache |
| 34 | 54 |