F# Data


Caching

Implements caching using in-memory and local file system

Nested types and modules

TypeDescription
ICache<'T>

Represents a cache (various implementations are available)

Functions and values

Function or valueDescription
createInMemoryCache expiration
Signature: expiration:TimeSpan -> ICache<'?133681>
Type parameters: '?133681

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

createNonCachingCache ()
Signature: unit -> ICache<'T>
Type parameters: 'T

Creates a fake cache

Fork me on GitHub