If I change Category parameters programmatically for instance IncludeInTopMenu = 1 or 0 then Top Menu is not refresh automatically. I have to restart page on IIS and than I see effect. How can I solve this? What should I do that page refresh automatically?
You'll need to clear relevant cache keys. See Nop.Web\Factories\CatalogModelFactory.cs file and look for TopMenu action method to see the cache keys that'll need to be cleared.
Thank you for the answer. And I already ask myself why this cacheManager is for. Is it possible that caches is automatically cleared after some period of time?
Thank you for the answer. And I already ask myself why this cacheManager is for. Is it possible that caches is automatically cleared after some period of time?
Yes, there is a scheduled task for that. Visit Admin > ScheduleTask > List to see that.