🌐 I Just Made Qwik Quicker! Added HTTP2/S Support! (Vite Plugin) #197
Replies: 6 comments
-
Usage
vite.config.ts export default defineConfig(({ command: _command, mode: _mode }): UserConfig => {
return {
...
plugins: [
qwikCity({
platform,
}),
qwikVite(),
tsconfigPaths(),+ qwikHttp2s(), ],
...
};
});Step 1: Follow the steps in the terminal to install the CA certificate Step 2: Restart Your Browser
Verification: Visit your site (e.g., https://localhost:5173) to check if the connection is now secure (after install) or untrusted (after uninstall). Advanced UsageA Vite plugin for Qwik to dynamically configure HTTP2/S support. Options
|
Beta Was this translation helpful? Give feedback.
-
|
To enable viewing the protocol in the devtools network tab, right click the columns and toggle |
Beta Was this translation helpful? Give feedback.
-
|
HTTP2 can only be used with HTTPS and localhost is hard to get working with HTTPS, this handles all of that |
Beta Was this translation helpful? Give feedback.
-
|
This also makes it possible to run the service worker on dev mode, right now notice that you have {!isDev && <ServiceWorker... |
Beta Was this translation helpful? Give feedback.
-
|
Nice! So ideally we'd integrate this into qwik somehow, maybe via the |
Beta Was this translation helpful? Give feedback.
-
|
Hi @wmertens ! Thank you for your kind words, Feel free to take this and integrate it however you want! What's mine yours now.
There is also a discussion about it on discord: https://discord.com/channels/842438759945601056/1313429580907806730/1313843921067048960 Yeah I also don't think it should be the default, but nice addition |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Fellow Wizards! 🧙♂️
I'm excited to share a recent improvement I made to Qwik! 🎉
Here's a qwik overview of the changes: 😉
Check out the full breakdown in my video:
(🎧 Loud music alert ops)🎬 Part 1 - Part 2 - Part 3 - Part 4
Watch in full screen!
Or if you prefer to dive right in checkout my gist: Code 👨💻
I'm looking forward to hearing your thoughts and feedback. If this is something you'd like to see integrated officially into Qwik, I'd love to collaborate on the steps required for that! 🙏 Please guide me on how I can assist with the integration process.
Thanks for checking this out, and I can't wait to hear from you! 😄
Beta Was this translation helpful? Give feedback.
All reactions