diff --git a/README.md b/README.md index 646c96c..0c62216 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ and build **awesome cross-platform applications**! - [Integration testing](#integration-testing) - [A few remarks on `Flutter Web`](#a-few-remarks-on-flutter-web) - [Adding a splash screen](#adding-a-splash-screen) - - [Speeding loading times](#speeding-loading-times) + - [Decreasing loading time](#decreasing-loading-time) - [App demo 📱](#app-demo-) - [0. Setting up a new project](#0-setting-up-a-new-project) - [1. Project structure](#1-project-structure) @@ -1991,7 +1991,7 @@ please visit https://github.com/dwyl/flutter-phoenix-channels-demo#6-bonus-points-adding-splash-screen. -## Speeding loading times +## Decreasing loading time Depending on the size of your `Flutter` project, when building the final bundle for release, @@ -2006,7 +2006,9 @@ like [`Lighthouse`](https://chrome.google.com/webstore/detail/lighthouse/blipmdc Although it is generally not recommended to tinker with output files if you're beginner, we have created a small document that will you guide you through -speeding up your load times on `Flutter` web, +speeding up your load times on `Flutter` web +by downloading asset resources in parallel. +This will decrease your loading time, even if it's a tiny bit. 😊 diff --git a/guides/flutter-web-speed-boost/flutter-web-speed-boost.md b/guides/flutter-web-speed-boost/flutter-web-speed-boost.md index 363c0eb..4fcf9d0 100644 --- a/guides/flutter-web-speed-boost/flutter-web-speed-boost.md +++ b/guides/flutter-web-speed-boost/flutter-web-speed-boost.md @@ -55,8 +55,8 @@ flutter build web --release --web-renderer html > between using an `html` or `canvaskit` web renderer, > visit https://github.com/dwyl/flutter-phoenix-channels-demo#61-switching-between-the-html-and-canvaskit-web-renderers. > -> By using `canvaskit` instead of `html`, -> we will need to make a small change for our "hack" to work correctly. +> If you are using `canvaskit` instead of `html`, +> you will need to make a small change for our "hack" to work correctly. > Don't worry, we'll tell you when 🙂. After running this command, @@ -111,7 +111,7 @@ This will save us some valuable milliseconds! Your changes should look like the following. -https://github.com/dwyl/learn-flutter/pull/84/commits/69347403f53594b041064e805dcbffe023952361 +[`flutter.js`](https://github.com/dwyl/learn-flutter/pull/84/commits/69347403f53594b041064e805dcbffe023952361) Now let's create our patch files. If you create two different files, @@ -150,7 +150,7 @@ You can check the needed changes to the file in the following commit. -https://github.com/dwyl/learn-flutter/pull/84/commits/b1edc58de99014f7423fdc9c08f207ec611b6439 +[`flutter_service_worker.js`](https://github.com/dwyl/learn-flutter/pull/84/commits/b1edc58de99014f7423fdc9c08f207ec611b6439) You can create the patch file in the same fashion as before. It should look like the following. @@ -230,5 +230,5 @@ If you just want the code, please check the PR we made to our `app` at https://github.com/dwyl/app/pull/330/files. -All of the changed code lives there. +All the code you need to change lives there. You can re-use it to your heart's content!