diff --git a/src/scripts/api.ts b/src/scripts/api.ts index b97076c04a..69aa309abb 100644 --- a/src/scripts/api.ts +++ b/src/scripts/api.ts @@ -54,6 +54,9 @@ class ComfyApi extends EventTarget { if (!options.headers) { options.headers = {} } + if (!options.cache) { + options.cache = 'no-cache' + } options.headers['Comfy-User'] = this.user return fetch(this.apiURL(route), options) }