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

fix(presenter): disable early hints #326

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

ulfgebhardt
Copy link
Member

@ulfgebhardt ulfgebhardt commented Mar 11, 2024

🍰 Pullrequest

This PR disables early hints by default, since thats not properly working with nginx (see https://vike.dev/nginx) and produces errors when using http2.

By disabling the early hints we have a speedup on pages which are not pregenerated, since the early hints are no longer sent via the socket causing a hickup in http traffic.

You can reenable the previous bebaviour by setting EARLY_HINTS=true in the environment starting the server.

Issues

  • None

Todo

  • None

@ulfgebhardt ulfgebhardt self-assigned this Mar 11, 2024
@ulfgebhardt ulfgebhardt added bug Something isn't working service:presenter labels Mar 11, 2024
@ulfgebhardt ulfgebhardt merged commit b8e527e into master Mar 11, 2024
28 checks passed
@ulfgebhardt ulfgebhardt deleted the disable-early-hints branch March 11, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:presenter
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant