FAQ/Questions/Caching.md
... ...
@@ -48,7 +48,13 @@ The [[AdHocSettings.PerUserCaching|http://wiki.izenda.us/API/CodeSamples/PerUser
48 48
49 49
###CacheSchema
50 50
51
-[[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).
51
+[[AdHocSettings.CacheSchema|http://wiki.izenda.us/API/CodeSamples/CacheSchema]] (default = true) is a Boolean setting which tells Izenda whether or not the DatabaseSchema object should be cached. By default, it is cached in application memory and on the filesystem. The cache file name is generated using the database connection string and [[VisibleDataSources|API/CodeSamples/VisibleDataSources]].
52
+
53
+**Note:** Use PerUserCaching to store the schema in session memory. This will also generate a folder per user on the server using the database connection string, [[CurrentUserName|API/CodeSamples/CurrentUserName]], and [[CurrentUserTenantId|API/CodeSamples/CurrentUserTenantId]] as the hash for the cache folder name.
54
+
55
+###SchemaCacheTimeout
56
+
57
+[[AdHocSettings.SchemaCacheTimeout|API/CodeSamples/SchemaCacheTimeout]] (default 1 day) is a TimeSpan setting that controls how long the database schema cache files will remain on the server before data should be re-obtained from the database.
52 58
53 59
###StoreImagesToCache
54 60