Skip to content

Conversation

@JohnathonKoster
Copy link
Contributor

Introduces a new internal component model cache, helping to improve performance of heavily reused components during compilation. This cache prevents re-parsing and analysis of components when used multiple times during the compilation process:

<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
<c-alert type="info" message="the message" />
...
  • This cache only applies to the compiler's internal component model and does not cache the execution of components at runtime
  • Cached component models do not persist to disk
  • Cached component models are cleared after the current request

@JohnathonKoster JohnathonKoster merged commit 312314f into main Jan 25, 2025
12 checks passed
@JohnathonKoster JohnathonKoster deleted the component-parser-cache branch January 25, 2025 16:32
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