bluebarry.
ReviewsPricingResources
Sign inBook demoBook a 15 min demo
Help Center/Launch and embed/Built for a fast storefront

Built for a fast storefront

Martijn Douma
Martijn Douma · Co-founder bluebarry
Updated September 15, 2026

Performance comes first at bluebarry. Helping shoppers find the right product should feel fast, from their first page visit to their final recommendation. That is why we keep our scripts small, load features when they are needed, and deliver files close to your visitors.

A base script of just 21 kB

Our core script is about 21 kB compressed with gzip. For a store using quizzes without search or chat, the storefront script is about 23 kB. Small downloads leave more bandwidth for the products, images, and content your shoppers came to see.

Your store keeps loading

The base script can load asynchronously. In plain language, your browser can keep reading the page while bluebarry downloads in the background. Your storefront does not have to wait for that download to finish.

Only the features your store uses

Your bluebarry installation automatically selects a script for the features you have enabled. A quiz-only store gets the quiz version. Add search or chat, and the script matches that combination. This keeps the initial download focused on what your store actually uses.

Storefront script sizes by setup
Your setupSize (gzip, approx.)
Core only21 kB
Quizzes23 kB
Search65 kB
Chat40 kB
Quizzes + search67 kB
Quizzes + chat42 kB
Search + chat84 kB
Quizzes + search + chat85 kB

A lightweight quiz, ready when shoppers need it

Our quiz experience runs on Preact, a lightweight technology that keeps the opening quiz JavaScript to about 49 kB compressed with gzip. It loads when a shopper opens a quiz, when a popup opens it, or when an embedded quiz loads on your page.

With a button launch, the quiz download waits until the shopper clicks. With an embedded quiz, it loads as part of that page experience. Additional question types and result views load as needed, keeping the first step light.

Fast delivery through Cloudflare

We deliver our scripts and static quiz files through Cloudflare's global network. Edge caching keeps copies closer to your shoppers, so cached files can reach them without a trip back to our servers. It helps deliver your quiz quickly wherever your customers shop.

Built for fast return visits, too

The selected storefront scripts can stay in the browser cache for up to a year. When all our storefront scripts stay unchanged, their download links stay the same across releases, so returning shoppers can reuse their cached files. Cached script selections can refresh in the background, helping repeat visits keep moving.

Frequently asked questions

Why is search bigger than the core script?

Search includes the interface your shoppers use: the search bar, suggestions, filters, and product results. Its script contains the HTML structure, CSS styling, and interactions that bring those elements to life. That complete search experience fits into about 65 kB compressed.

Do I add the sizes together when I combine features?

Each combination has its own script, with the shared basics included once. Quizzes and search together are about 67 kB. The table already shows the combined script size for each setup.

When does the quiz itself download?

The separate 49 kB quiz app loads when a quiz opens or an embedded quiz loads on your page. With a button launch, that download waits for your shopper to click.

Related articles

Use the JavaScript SDK

Use the JavaScript SDK when a custom storefront needs to open, close, embed, or listen to bluebarry quiz behavior.

Read article →

Launch as a Button

Use button launch when shoppers should start the quiz from a visible call to action, such as a collection page, product page, or landing page section.

Read article →

Embedding Your Quiz Funnel

Detailed guide on embedding quiz funnels into your website using various methods.

Read article →

Test Your Storefront Quiz

Test the storefront quiz after installation so you can confirm the published quiz loads, records events, and sends shoppers to the right results.

Read article →

Can’t figure it out? We probably can.

Every article here was written by the people who built the product. If one of them still leaves you stuck, tell us and we’ll fix it.

Contact usJoin Discord, free forever
bluebarry.

Helping beauty, health and outdoor brands reach their dream AOV

[email protected]+31 6 57 16 10 87De Ried 10, 9285KK Buitenpost (The Netherlands)
Martijn DoumaStan van RooyAnco PostmaJelmer Reitsma

The guys that are increasing your AOV.

Platform
Quiz funnelsLanding pagesProduct QuizRecommendationsSearchIntegrationsPricing
Resources
CasesHelp centerFAQCompare
Company
Contact usPartners & affiliateReviewsRequest demo
Book a 15 min demo
© 2026 bluebarry. All rights reserved.
Privacy PolicyCookie PolicyTerms & Conditions
English/Nederlands/Deutsch
bluebarry