F# Data


Caching

Namespace: FSharp.Data.Runtime

Implements caching using in-memory and local file system

Nested types and modules

Type or ModuleDescription
ICache<'TKey, 'TValue>

Functions and values

Function or valueDescription
createInMemoryCache(expiration)
Signature: expiration:TimeSpan -> ICache<'TKey_,'TValue>
Type parameters: 'TKey_, 'TValue

Creates a cache that uses in-memory collection

createInternetFileCache(...)
Signature: prefix:string -> expiration:TimeSpan -> ICache<string,string>

Creates a cache that stores data in a local file system

Fork me on GitHub