Alfresco uses a concept called tagscope caching to support performant tagging services in Alfresco Share. Each folder representing a site or a site container (doclib, wiki…) has a d:content property cm:tagScopeCache thats acts as a tag cache. More detailed this property is a txt-file that contains a list of tags & their quantity, e.g.:
var refresh = actions.create("refresh-tagscope");
for each(item in folder.children)
Steps to use this script:
- Upload js to data dictionary / Scripts
- navigate in JSF client to site or site container where you want to refresh your tagScopeCache
- open details page of folder
- Run Action -> Execute Script & choose the uploaded script.