SP.Taxonomy.TermStore.updateCache Method (sp.taxonomy)

Forces the taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a SP.Taxonomy.TermStore object (sp.taxonomy).

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Taxonomy.TermStore.updateCache()

Remarks

A background thread already performs these checks at periodic intervals, so calling UpdateCache is normally unnecessary. However, it is sometimes useful immediately before a chance (to reduce the likelihood of save conflict errors), or immediately after a change (if that change may have been performed via different Web Front End (WFE)).

This operation can also be performed via the updateCache parameter for the server-side TaxonomySession constructor.