F# Data


Caching

Namespace: FSharp.Data.Runtime

Implements caching using in-memory and local file system

Nested types and modules

Type or ModuleDescription
ICache<'T>

Represents a cache (various implementations are available)

Functions and values

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

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