{#if flowModule.value.type == 'script'} {:else if flowModule.value.type != 'rawscript'}

The cache settings need to be set in the referenced flow settings directly.

{:else} { if (isCacheEnabled) { flowModule.cache_ttl = undefined } else { flowModule.cache_ttl = stepSettingDefaults('cache') } }} options={{ right: 'Cache results', rightTooltip: 'The result of the step is cached for the configured number of seconds; a re-trigger with the same input returns the cached value instead of recomputing it.', rightDocumentationLink: 'https://www.windmill.dev/docs/flows/cache' }} /> {#if isCacheEnabled}
flowModule.cache_ignore_s3_path, (v) => (flowModule.cache_ignore_s3_path = v || undefined) } options={{ right: 'Ignore S3 object paths', rightTooltip: 'If two S3 objects passed as input have the same content, they will hit the same cache entry, regardless of their path.' }} />
{/if} {/if}