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

Caching values based on component inner content static sections #2

Open
tokrug opened this issue Jan 26, 2021 · 0 comments
Open

Caching values based on component inner content static sections #2

tokrug opened this issue Jan 26, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@tokrug
Copy link
Collaborator

tokrug commented Jan 26, 2021

Scenario

Default inner content section of a component is treated as a Pebble template. Thatsection is fully static which means it does not contain any component placeholders. Because of that the Pebble template should be compiled only once and then reused within the context of the RenderFunction. Coupled with RenderFunction cache it should improve performance.

To be decided

If such feature is in fact important. Please describe your use case in comments below if you'd like this feature to be implemented.

Out of scope

Same scenario but inner content section contains a component placeholder with component logic dependent only on component props.

@tokrug tokrug added enhancement New feature or request question Further information is requested labels Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant