Don't think you need to clear the cache any longer, purl_delete will clear the provider cache.