code: def imagine_cache_clear(path, filter_name=None):
      
      self = current_app.extensions['imagine']
      self.clear_cache(path, filter_name)
docs: Clear cache for resource path.
      :param path: str
      :param filter_name: str or None