---
title: "Should I load CartGenie's javascript script synchronously or async?"
description: "Learn the difference and why its important to load synchronously"
url: https://help.cartgenie.com/en/articles/40-should-i-load-cartgenie-s-javascript-script-synchronously-or-async
collection: "Webflow Project Settings"
updated: 2026-05-03
language: en
---

# Should I load CartGenie's javascript script synchronously or async?

Learn the difference and why its important to load synchronously

## What is the difference?

When JavaScript loads synchronously, the browser pauses rendering the page until the script is fully downloaded and executed.

When JavaScript loads asynchronously (using async or defer), the browser can continue loading and rendering other parts of the page while the script downloads.

## What is best for CartGenie?

> **Success:** We recommend loading your javascript **Synchronously** (default in Webflow).

This is very important as it helps prevent any visible changing of content on product pages when loaded by the customer.
