Skip to content

feat: freezing/caching of outputs#158

Merged
rich-iannone merged 11 commits into
mainfrom
feat-freezing
May 6, 2026
Merged

feat: freezing/caching of outputs#158
rich-iannone merged 11 commits into
mainfrom
feat-freezing

Conversation

@rich-iannone
Copy link
Copy Markdown
Member

This PR introduces support for freezing, which enables caching of executed code cell outputs to speed up documentation builds by avoiding redundant computation. It adds the great-docs freeze CLI command for managing the freeze cache. The new command lets you execute, cache, and manage freeze outputs for documentation pages, including options for cleaning, info/status reporting, and custom cache directories. This includes logic to detect which pages are frozen, check cache status, and copy/merge freeze outputs.

A new User Guide page is added ("Freeze & Caching") that explains the new feature in detail. A live demonstration recipe page ("Freeze a Page to Cache Outputs") shows the effect of the freeze (cached timestamp and system information).

The feature will be marked as Experimental for some time. Additional testing will be added in upcoming PRs and there may also be some minor API additions around this new feature.

Fixes: #155

@rich-iannone rich-iannone merged commit 1ca37e3 into main May 6, 2026
7 checks passed
@rich-iannone rich-iannone deleted the feat-freezing branch May 6, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow persisting Quarto's freeze cache across builds (or expose a pre-render hook)

1 participant