diff --git a/.changeset/perf-cold-start-bundle.md b/.changeset/perf-cold-start-bundle.md new file mode 100644 index 0000000000..7b6bcaa3e4 --- /dev/null +++ b/.changeset/perf-cold-start-bundle.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Speed up cold start by keeping the PDF viewer out of the initial bundle (it now loads on demand), cutting the amount of JavaScript fetched and parsed on launch. The desktop and mobile windows also paint the app's background color immediately, so startup no longer flashes a blank black screen before the first frame. diff --git a/index.html b/index.html index 3a9c594781..a30ee45e73 100644 --- a/index.html +++ b/index.html @@ -143,6 +143,23 @@ +