Skip to content

Improve the caching mechanism #80

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

Open
Xiaokang2022 opened this issue Feb 3, 2025 · 0 comments
Open

Improve the caching mechanism #80

Xiaokang2022 opened this issue Feb 3, 2025 · 0 comments

Comments

@Xiaokang2022
Copy link
Contributor

When writing documentation, we may use the serve command to modify and preview the results in real time.

But this creates an annoying problem where the serve command rebuilds the document every time the document is modified, but the cached file is not saved every time, which results in duplicate fetching data from GitHub / GitLab, which is not good for live previews.

Perhaps, we need to change the time when the cache is saved. My understanding is that as long as there is fetching data in this build, then this build should save the cache file, but this is not the case.

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

1 participant