DefaultCachePlugin
DefaultCachePlugin
This plugin provides a simple SQL-based cache strategy SqlCacheStrategy which stores cached items in the database. It is suitable for production use (including multi-instance setups). For increased performance you can also consider using the RedisCachePlugin.
Signature
class DefaultCachePlugin {
static options: DefaultCachePluginInitOptions = {
cacheSize: 10_000,
};
init(options: DefaultCachePluginInitOptions) => ;
}