Does update Metadata clear TagCache?


Do functions such as TagMetadataStore.removeType(), MetadataStore.tag().removeTypeBatch, MetadataStore.tag().upsertType(), and MetadataStore.tag().upsertTypeBatch clear all TagCache?

If so, is there a way to preserve TagCache?


Yes, update to metadata clears all metadata caches. And, no, there are no provisions to update metadata but “preserve” some caches as there is no clear and straightforward way to define dependencies between metadata elements and caches.