Invalidation and reloading
These functions allow platform caches to be invalidated. Use them carefully, as performance will be impacted by overuse, and stale data will be used if they’re not called at the right time.
In general, the cache will be invalidated immediately for this thread. Other threads will see invalidated caches the next time the thread starts a request or background processing.
Invalidate all cached user permission information. Use when you’ve implemented a custom permissions system, and permissions have changed.
Avoid using this function. It should not be necessary for most plugins. Using an
InterRuntimeSignal is likely to be more appropriate.
Invalidates the cached left hand navigation for all users.
Invalidates the platform’s dynamic files for all users. These files include the dynamically generated CSS, to which plugins can append CSS with hMainApplicationCSS.