Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Support for opt-in caching#268

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
simon-paris wants to merge1 commit intomrmckeb:main
base:main
Choose a base branch
Loading
fromsimon-paris:support-caching

Conversation

simon-paris
Copy link

This adds caching, which is off by default and enabled using{caching: "always"}. It works by mapping from snapshots provided by typescript to snapshots generated by the plugin using a WeakMap.

Thecaching option allows"always" | "never". I chose to use a union instead of a bool to 1) later support for a third "only when safe" or "only when supported" option, and 2) to help indicate that it might be too aggressive since "always" sounds stronger than true.

Fixes#215

cc@jsliang

@simon-paris
Copy link
Author

Hi@mrmckeb, would you be able to review this?

@mrmckebmrmckeb added this to thev6.0.0 milestoneOct 10, 2024
@mrmckeb
Copy link
Owner

Hi@simon-paris, sorry for the long delay. I changed jobs and moved cities over the last few months and didn't get much free time for open source.

I'll take a look at this with some other changes this weekend hopefully! :)

AlexGLT and simon-paris reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v6.0.0
Development

Successfully merging this pull request may close these issues.

VSCode Intellisense with version 5 is very slow
2 participants
@simon-paris@mrmckeb

[8]ページ先頭

©2009-2025 Movatter.jp