### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/542

<div type='discussions-op-text'>

<sup>Originally posted by **shabbychef** April  5, 2022</sup>
I am building an HTML doc, and am using caching to speed up computation. It seems that when I tweak some of the text and rebuild the document, the figures have been deleted and are not remade. For doc `autorisk.qmd`, it is looking for, and not finding, `autorisk_files/figure-html/foo-1.png`. That directory `autorisk_files/figure-html` is built and populated on the first run, but on a re-run it is apparently deleted first.

Not sure it is relevant, but I am using option `self-contained: true`.
</div>
2022-04-06T00:58:38Z
jjallaire
closed
figures and caching
https://github.com/quarto-dev/quarto-cli/issues/544