From 7e2d11b30fc03801a43bc3c7cacf14ff6509e6f8 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 11 Feb 2025 09:09:02 -0600 Subject: [PATCH] Update wasm docs to be clear that additional headers are now optional (#11706) Fixes https://github.com/flutter/website/issues/11649 --- src/content/platform-integration/web/wasm.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/platform-integration/web/wasm.md b/src/content/platform-integration/web/wasm.md index f159665a14..1a0f3b356b 100644 --- a/src/content/platform-integration/web/wasm.md +++ b/src/content/platform-integration/web/wasm.md @@ -91,13 +91,13 @@ final isRunningWithWasm = identical(double.nan, double.nan); ### Serve the built output with an HTTP server -Flutter web WebAssembly uses multiple threads to render your application +Flutter web WebAssembly can use multiple threads to render your application faster, with less jank. To do this, Flutter uses advanced browser features that require specific HTTP response headers. -:::warning -Flutter web applications won't run with WebAssembly unless the server is -configured to send specific HTTP headers. +:::important +Flutter web applications compiled with WebAssembly won't run with multiple-threads +unless the server is configured to send specific HTTP headers. ::: | Name | Value |