Does CACHE TABLE/VIEW have a create or replace like view?

fury88
New Contributor II

I'm trying to cache data/queries that we normally have as temporary views that get replaced when the code is run based on dynamic python. What I'd like to know is will CACHE TABLE get overwritten each time you run it? Is it smart enough to recognize the table is already cached and skip? Trying to avoid having this run every time if it exists.