In CM logs I occasionally see Prefetch data(master) cleared by DefaultScavengeStrategy:
7744 20:32:18 WARN SqlDataProvider - Prefetch data(master) cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[Sitecore.Data.ID, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 90 MB.
My understanding is that Prefetch cache is filled one time during application startup and should remain immutable for the reminder of application life. Here are some existing responses that seem to confirm that:
Sitecore populate prefetch catches just at application inititialization, and it maintains it during the lifetime of the application. Is not possible to update after you run the app and the prefetch cache is already initialized.
Prefetch cache is not repopulated after a publish, it is repopulated just when you restart your site.
However the log entry shows otherwise. I understand why other caches might be cleared by DefaultScavengeStrategy but I do not understand why Prefetch cache would be cleared by it.
Please help me to understand this log entry.
There is an extensive answer regarding the DefaultScavengeStrategy Log file warning about caching and DefaultScavengeStrategy, however it does not explain why it applies to prefetch cache. According to the other two answers I have quoted in the original message, prefetch cache should only be modified at application start up.