diff --git a/invokeai/frontend/web/src/services/api/endpoints/images.ts b/invokeai/frontend/web/src/services/api/endpoints/images.ts index 666091201f..62a9b6611e 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/images.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/images.ts @@ -127,6 +127,7 @@ export const imagesApi = api.injectEndpoints({ ], transformResponse: (response: Blob) => getMetadataAndWorkflowFromImageBlob(response), + keepUnusedDataFor: 86400, // 24 hours }), clearIntermediates: build.mutation({ query: () => ({ url: `images/clear-intermediates`, method: 'POST' }),