Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache unchanged quarto pages #146

Open
scottgigante-immunai opened this issue Mar 8, 2023 · 2 comments
Open

Cache unchanged quarto pages #146

scottgigante-immunai opened this issue Mar 8, 2023 · 2 comments
Assignees

Comments

@scottgigante-immunai
Copy link
Collaborator

Is this possible? We have a lot of content that doesn't change run to run.

@rcannood
Copy link
Member

rcannood commented Mar 8, 2023

Running quarto preview will use a cache; quarto render will render from scratch.

If we want to enable a cache in the CI to decrease render times, I would only do that for PRs and not for commits made in the main branch. WDYT?

@scottgigante-immunai
Copy link
Collaborator Author

I would be hesitant to have CI run differently on PRs vs main -- you could end up merging something that looks different on main than it did in the preview.

@rcannood rcannood transferred this issue from openproblems-bio/website-experimental Mar 10, 2023
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

No branches or pull requests

2 participants