Module cache

Module cache 

Source

Structs§

CacheConfig
Configuration for response caching.
MemoryCache
In-memory cache backed by Moka.
RedisCache
Redis-backed cache using JSON serialisation.
SqliteCache
SQLite-backed cache using JSON serialisation.
TypedCache
A type-erased, cloneable cache for values of type V.

Enums§

CacheBackendConfig
Selects which storage backend to use for caching.

Traits§

CacheBackend
Async storage backend for a cache.

Functions§

create_cache
Create a PmcCache from config.

Type Aliases§

PmcCache
Type alias for the PMC full-text response cache.