Appearance
Runtime Config
Some of the module's options can also be changed at runtime using runtime config.
INFO
Note that you can only enable features via runtime config that are also enabled in the module config. For example, you can generally enable the route cache in the module's options and then disable it at runtime, but you can not have the route cache disabled in the module config and then enable it using runtime config.
Enable debug
dotenv
NUXT_MULTI_CACHE_DEBUG=trueIf true the module will log debug message to the console.
Toggle CDN Headers
dotenv
NUXT_MULTI_CACHE_CDN=trueEither true or false to enable or disable the CDN headers.
Toggle Component Caching
dotenv
NUXT_MULTI_CACHE_COMPONENT=trueSet to true to enable component caching or false to disable it.
Toggle Data Cache
dotenv
NUXT_MULTI_CACHE_DATA=trueSet to true to enable the data cache or false to disable it.
Toggle Route Caching
dotenv
NUXT_MULTI_CACHE_ROUTE=trueSet to true to enable route caching or false to disable it.
Toggle API
dotenv
NUXT_MULTI_CACHE_API_ENABLED=trueSet to true to enable the purge/stats API endpoints, false to disable them.
API Authorization Token
dotenv
NUXT_MULTI_CACHE_API_AUTHORIZATION_TOKEN=PtSR0mDATQpNlvNgqRfThe token to use to grant access to the purge/stats API.
Toggle API Authorization
dotenv
NUXT_MULTI_CACHE_API_AUTHORIZATION_DISABLED=trueSet to true to disable authorization checks for the purge/stats API.