invalidateCache

abstract fun invalidateCache()

Invalidates the rendered cache of all the pages for this document. Use this method if the document is not updated after a change, or changed externally, and needs to be re-rendered.

Note: this call may block for a while and should not be invoked on the main thread.