As far as I understand, you are correct in your expectations . When the cache in Azure API Management (APIM) is full, the system will automatically evict the oldest cache entries to make room for new ones. This eviction is managed transparently by the APIM service, so your cache-store
and cache-store-value
policies do not fail due to a full cache. Instead, the cache continues to operate normally by purging older entries as needed to store new ones.
This behavior ensures that your caching strategy remains functional even when the cache reaches its maximum capacity, without causing failures or requiring manual intervention.
This behavior is typical for most caching systems - I'm not aware of any specific documentation that would explicitly describe this behavior.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin