Skip to content

Instantly share code, notes, and snippets.

@slemarchand
Last active April 13, 2020 14:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slemarchand/2310f7b3104acc2c0f58 to your computer and use it in GitHub Desktop.
Save slemarchand/2310f7b3104acc2c0f58 to your computer and use it in GitHub Desktop.
Clear all Liferay caches (local to the server and across the cluster)
com.liferay.portal.kernel.cache.MultiVMPoolUtil.clear();
com.liferay.portal.kernel.cache.SingleVMPoolUtil.clear();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment