Skip to content

elislade/SwiftCaching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftCaching

A simple caching package that allows caching data in-memory with MemoryCache, on-disk with FileCache, or a hybrid of both with PersistingCache.

eg.

    let val = FakeData()
    let key = "memory_data"
    let cache = MemoryCache()
    cache.cache(key, data: val)
    let result: FakeData? = cache.retrieve(key)

About

A lightweight swift caching package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages