Categories
CMS Joomla Mastering Development

What is the simplest way to clear a group’s cache in Joomla via php, when caching disabled?

So background: I’m making a caching plugin that clears our site and CDN caches when content is saved. In this instance, I want to clear the site cache for one group. My original attempt looked something like this: $cache = JFactory::getCache(‘cachegroup’); $cache->clear(); That didn’t work. I did some research and saw SharkyKZ in the Joomla […]