yarn add @pinelab/vendure-plugin-multiserver-db-sessioncache
to install this plugin.
yarn add @pinelab/vendure-plugin-multiserver-db-sessioncache
to install this plugin.
This plugin implements a multi-server proof session cache, using the existing database as cache. Vendure's built-in (default) InMemoryCache can cause conflicts on multi-server environment, and setting up Redis only for session caching might be overkill for most shops.
Add the plugin to your config:
plugins: [MultiServerDbSessionCachePlugin];