DocumentsCache¶
com.imcode.imcms.domain.component
This service is designed to manage Public Document Cache.
See also
You can get acquainted with the cache in the Cache article.
Initialization¶
DocumentsCache documentsCache = Imcms.getServices().getManagedBean(DocumentsCache.class);
Methods¶
void invalidateDoc(Integer id, Collection<String> aliases);
delete document from Public Document Cache. You must specify the id and aliases of the document due to particular qualities.
void invalidateCache();
delete public cache. That is, delete all documents from the Public Document Cache and delete the published content cache.