CacheConfig.standard constructor
const
CacheConfig.standard({
- required IwsCache cache,
- Duration? ttl,
Creates a cache config with stale-while-revalidate disabled (default behavior)
Implementation
const CacheConfig.standard({
required this.cache,
this.ttl,
}) : staleWhileRevalidate = false;