You can enable and configure the external resource cache through the EMQX Dashboard:
Navigate to Access Control -> Authorization.
Click the External Resource Cache Settings button in the upper-right corner. A side panel will appear from the right.
In the panel, use the Enable External Resource Cache button to turn the caching feature on or off. Once enabled, configure the following cache settings:
Field Name Description Maximum Number of Cache Items Maximum number of cached entries per node. Default: 1,000,000
.Maximum Memory Limit on cache memory usage. Default: 100 MB
.Cache TTL Duration a cached entry remains valid. Default: 1 minute
.Click Update to apply the settings.
These settings are applied cluster-wide to ensure consistent behavior across all nodes.