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.
Configuration options for the DefaultCachePlugin.
number10_000The maximum number of items to store in the cache. Once the cache reaches this size, the least-recently-used items will be evicted to make room for new items.
CacheTtlProviderOptionally provide a custom CacheTtlProvider to control the TTL of cache items. This is useful for testing.
Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.