How Moast keeps your store fast
Moast loads its videos and code only when a shopper is about to see them, and keeps them out of the way of your theme while the page loads. There is no setting to turn this on or off. The setting that changes a widget's weight the most is autoplay, covered below.
If videos look lower quality on some phones, that is usually Playback mode, not lazy loading.
What Moast does to keep pages fast
Every Moast widget follows these rules on every store.
Videos load only when on screen. Moast waits until a video is visible before it loads it. Videos further down the page do not load in the background.
Videos you scroll away from stop downloading. Moast pauses and unloads videos that are not being viewed, even when a page has several widgets.
Carousel tiles get small files. A video in a carousel tile loads at a quality sized to the tile, not to the full screen, and downloads only a few seconds ahead. A tile the carousel scrolls past has not downloaded the whole video.
The video player loads only when a video plays. The streaming library that adapts video quality (about 180 KB compressed) loads with the first video that plays, not with the page. iPhones play these videos natively and never load it.
The pop-up waits for your page. A floating pop-up starts loading its video once your page has finished loading, so your theme's images and scripts load first.
Nothing loads when there is nothing to show. A widget block with no videos, such as a product widget on a product without videos, loads no Moast code at all.
Code never blocks your page. Widget scripts load after your theme and never hold up the first view of the page. A widget's first load is about 40 to 70 KB of compressed JavaScript, depending on its type.
Code is not fetched early. Moast does not ask the browser to download its code ahead of your page's own content.
The page does not jump. Each widget reserves its space before its videos load, so content around it stays in place.
Files are served from Shopify. Videos come from the Shopify server closest to each shopper, and browsers keep Moast's code files so returning shoppers do not download them again.
Choose the fastest settings for each widget
Autoplay decides most of a widget's weight. A video that waits for a tap shows only its poster image and downloads no video, and the video player stays unloaded until the shopper taps. On stores we measured, a carousel set to play every video loaded about 200 KB more once it came into view than one set to play none.
Widget | Setting | Lightest choice | Default |
|---|---|---|---|
Carousel | Autoplay videos | None | None |
Stories | Autoplay videos | None | None |
Grid | Autoplay videos | None | None |
Hero and Single | Autoplay the video | Off | On |
Wiki | Show videos as | Button on each answer | Button on each answer |
When you want motion on the page, pick the lightest option that still gives it:
One at a time and Featured video play a single video, so they cost about the same as one playing video.
All videos plays every slide or tile in view at once. It is the heaviest choice, and the cost grows with how many slides or columns are in view.
A Hero or Single video at the top of the page starts downloading as the page loads when Autoplay the video is on. Further down the page, it waits until a shopper scrolls to it.
The Floating pop-up always plays its video. It waits until your page has loaded, so it does not compete with your theme, but add it only to pages where it earns its place.
Two things matter less than you might expect. Each video in a widget adds only about 0.2 KB to the page, and videos out of view load nothing, so you do not need fewer videos for speed. Autoscroll only moves new slides into view, so with autoplay off it loads poster images and nothing more.
How playback adapts to each shopper
By default, Moast also adapts video quality to each shopper's device and network speed. Fast connections get sharper video. Slower connections get a lighter file so playback stays smooth.
You can change this tradeoff in Playback mode.
Change Playback mode
Use Playback mode when you want to prioritize site speed or the highest video quality.
Open your Moast app.
Go to Settings > Widget settings.
In the Videos section, open Playback mode.
Choose Performance or Quality.
Performance is the default. It adapts to the shopper's device and network speed.
Quality loads the highest file size for every shopper. Videos can take longer to show up and use more data.
Quality mode loads the largest files for all customers. On slower connections, videos can take longer to appear.
Make a carousel lighter on mobile
A carousel loads the videos in the slides the shopper can see, so how many slides are in view and how many play at once decide most of its page weight. If a carousel feels heavy or lowers your mobile PageSpeed score, change these three settings:
Autoplay mode: choose None so no video plays until the shopper taps it. Featured video and One at a time play one video at a time. All videos plays every visible slide at once, which is the heaviest choice.
Slides in view: show fewer slides at once in the narrow layout, which phones usually get. The narrow layout shows 2 slides by default and allows 1 to 4.
Playback mode: keep Performance, so slower connections get lighter files. Quality sends the largest file to every shopper.
You change Autoplay mode and Slides in view in the carousel widget editor. How to change video autoplay and layout in the Carousel has the steps.
Narrow and wide describe the space the widget sits in, not the screen. A carousel in a narrow column uses its narrow layout on desktop too, so check both layouts after you change them.
Measure Moast's impact on your store
A speed report lists every file on the page by name, so Moast's files appear even when they cost very little. To see Moast's real effect, compare the same page with and without Moast in Chrome.
Open the page in Chrome and open DevTools with Ctrl+Shift+I (Cmd+Option+I on Mac).
Press Ctrl+Shift+P (Cmd+Shift+P on Mac), type request blocking and choose Show Network request blocking.
Turn on Enable network request blocking and add the pattern
*moast*.Open the Lighthouse tab, choose Mobile and click Analyze page load. Run it three times and note the middle score.
Turn off request blocking and run Lighthouse three more times.
Scores move by several points between runs of the same page, so compare the middle of each set of three, not single runs. When we ran this test on 12 Moast stores, Moast used between 0.1% and 1.2% of the page's processing time, was never the largest item on the page, and caused no layout shift.
Videos in your theme's own product gallery are not Moast's, even when they show the same video. If a report flags video downloads, check which element plays them before you change your Moast settings.