Critical Styles and Async Css

Use DevTools and Lighthouse to quickly validate experiments. Which solution is quick and easy? Which solution could cause an improvement of more than 20 percent? The greater the improvement you receive for the less amount of work is your indicator to measure the level of impact. By focusing experimentation on a specific bottleneck, your interpretation work has a sense of direction and solutions can be compared with others. The more you learn about what influences specific bottlenecks, the better you can assess the level of impact of potential solutions. The more you learn about what influences specific bottlenecks, the better you can assess the level of impact of potential solutions. Auditing Narrative, along with previously released free themes, resulted in a number of identified bottlenecks.

What follows are some solutions that we consider the most impactful: 1. Responsive Images One of the simplest and most commonly understood principles of web performance is that the less data you send over the wire, the faster the page will load. Page bloat is only growing as a problem on the internet, so any opportunity you have to reduce the size of your web page is a guaranteed win. The smallest size of the web page can influence both  China B2B List SpeedIndex and initial render times, two metrics we focus on in our performance budget. During our data analysis, we saw that some of our themes could have more than 4mb of image data per page. At that size, a user with a 3G connection could take up to 45 seconds to download and render all the images on a page. We can do better!

Javascript Cleanup and Optimization

Narrative Web Performance – Image Page Weight Comparison.  Of the weight of the image page (purple) with other resources on the page. Responsive images promised a high level of impact due to the magnitude of savings.  We were able to see across the entire theme. While also targeting our mobile users. Compared to a few kilobytes of data saved by optimizing other assets.  Like HTML, CSS, or JS, responsive images gave us the opportunity.  To reduce overall page size by hundreds of kilobytes. Our Narrative demo stores, we saw up to a 50 percent decrease.  In initial page render time and an 85 percent decrease in total page weight. In our Narrative demo stores, we saw up to a 50 percent decrease in initial.  Page render time and an 85 percent decrease in total page weight.

China-B2B-Contact-List
China-B2B-Contact-List

To learn more, check out this introduction to responsive images on Shopify. You may also be interested in: Using Responsive Images to Decrease Page Load Times. 2. Lazy loading images Another fix we considered when trying to improve SpeedIndex was the order in which images were downloaded. We noticed that images in the middle of the page were downloading before images at the top of the page. The result was a longer rendering time for the content in the top half of the page and a slower SpeedIndex. Narrative web performance: poor image download optimization An example of a poor image download prioritization cascade. In order to prioritize downloading images, we needed to use a technique called lazy loading of images.

Optimized Scroll Drivers

Lazy loading allows you to control in what order images are downloaded and when to download them. With this additional control, we allow devices to only download images when they are needed. For example, if the user lands on your home page and immediately jumps. To the header navigation and navigates to another page. Why bother downloading images further down the home page? Isn’t that just a waste of bandwidth? By limiting image downloads to only those viewable immediately. Or soon to be viewable. We can decrease the amount of image data our device needs to download and process. Another great technique available for lazy loading images. Which also decreases SpeedIndex, is placeholder images.

Leave a comment

Your email address will not be published.