When is the cache updated in ContentQueryWebPart (CrossListQueryCache)?

I considered the CrossListQueryCache object and ContentQueryWebPart (CQWP) as part of the Microsoft Publishing Infrastructure (SharePoint). CQWP uses CrossListQueryCache.

CrossListQueryCache seems to use CacheManager and CachedObjectFactory to determine when to use the cache or not. My reflex skills don't cut it right now, but I guess the cache is cleared whenever any updates happen to the site. Is it correct?

I hope this can be changed in some way. In fact, it would be nice if we could only update the cache with a SharePoint job.

+4
source share
1 answer

Cache settings can be configured on the object cache settings page. http://office.microsoft.com/en-us/sharepointserver/HA101577831033.aspx

We encountered many problems using CrossListQueryCache on loading with a very large SharePoint database (> 100 GB). We saw a lot of database locks.

There are also times when the cache is NOT used, even if you configured it to enable. I created a fairly detailed blog post about this a year ago here .

+7
source

Source: https://habr.com/ru/post/1285841/


All Articles