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.
| Your setup | Size (gzip, approx.) |
|---|---|
| Core only | 21 kB |
| Quizzes | 23 kB |
| Search | 65 kB |
| Chat | 40 kB |
| Quizzes + search | 67 kB |
| Quizzes + chat | 42 kB |
| Search + chat | 84 kB |
| Quizzes + search + chat | 85 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.