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

Content Model Cache improvement 1: Create ContentModelCachePlugin #2066

Merged
merged 29 commits into from
Sep 19, 2023

Conversation

JiuqingSong
Copy link
Collaborator

@JiuqingSong JiuqingSong commented Sep 12, 2023

The goal of this series is to have a up-to-date Content Model stored in memory.

This is the first step, we create a new plugin ContentModelCachePlugin, and move all cache related code into this plugin. ContentModelCachePlugin can be treated as a core plugin, it provides plugin state and will be stored as part of EditorCore so that core API can access it.

Also move code of default format from ContentModelEditPlugin to ContentModelFormatPlugin, and move some other edit related contet out of ContentModelEditPlugin to be standalone API to make the plugin code cleaner.

@JiuqingSong JiuqingSong changed the title Content Model: Persist cache 2 Content Model: Persist cache 1 Sep 14, 2023
@JiuqingSong JiuqingSong changed the title Content Model: Persist cache 1 Content Model Cache improvement 1: Create ContentModelCachePlugin Sep 19, 2023
@JiuqingSong JiuqingSong merged commit 51eb85c into master Sep 19, 2023
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/cache2 branch September 19, 2023 20:41
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.

2 participants