def remove_caches_for_resource(self, resource):
        for layer in m.RenderedLayer.objects.filter(data_resource__slug = resource):
            self.remove_caches_for_layer(layer.slug)
Iterate over all caches using a particular resource and burn them
dataset/ETHPy150Open hydroshare/hydroshare2/ga_resources/drivers/__init__.py/CacheManager.remove_caches_for_resource