Skip to content

Improve the caching mechanism #80

Description

@Xiaokang2022

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions