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

perf: render base resource headers (for early hints) #40

Closed
wants to merge 1 commit into from

Conversation

danielroe
Copy link
Member

This renders base resource headers synchronously to the renderer instance, for use before the vue app is rendered.

I've added it via an object base.resourceHeaders as we may have use for to prerendering styles/scripts etc. in future.

@pi0
Copy link
Member

pi0 commented Oct 18, 2022

If the main reason of statically generating is caching, we might cache some meta in either of (prebuilt) manifest or ssr context for dynamic hints. Any reason this would still benefit to be static prop?

@danielroe
Copy link
Member Author

No, I think we can close, as renderResourceHeaders is exposed anyway.

@pi0 pi0 closed this Oct 18, 2022
@pi0 pi0 deleted the perf/base-resource-headers branch October 18, 2022 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants