Guide

Your Bubble app got slow. Here’s where the time goes.

A slow Bubble app usually loads too much when a page opens, searches for more than it shows and runs work on page load that could wait. Find the heaviest page in App metrics, fix those three things there first, and the same changes cut your workload too.

Published 7 min read

A Bubble app’s speed checklist: what loads on the page, searches, repeating groups, page-load workflows and workload, each checked.

In short

  1. On Bubble, speed and workload are the same problem: page loads, searches and workflows are all work on Bubble’s server, and all count toward your workload.
  2. Find the slow part before changing anything: the Logs tab’s App metrics shows which pages, workflows and searches cost the most.
  3. Make searches ask for less: constraints instead of :filtered, counts instead of lists, and numbers stored on the parent instead of searched in every row.
  4. Make pages load less: short lists with paging, lean repeating group cells, reports behind a click, no plugins you don’t use.
  5. Move work off page load: analytics tools for tracking, and things like a cart created when someone acts, not when the page opens.

01The short answer

Speed and workload are the same problem

When a Bubble page opens, Bubble sends the code for every element, draws the ones you can see, then fetches the data those elements show6. Loading the page, searching the database and running workflows are all work on Bubble’s server, and all of it counts toward your workload7.

So the page that feels slow is usually the page that costs the most. Bubble’s own guidance puts it plainly: performance “is heavily impacted by how the app is built”9. That’s good news, because it means you can fix it without leaving Bubble.

In almost every slow app the time goes to the same four places: what loads when the page opens, searches that return more than the page shows, repeating groups with heavy cells, and workflows that run on page load.

02Find it first

Find the slow part before you change anything

Guessing wastes days. Bubble shows you where the work goes.

  • Open the Logs tab and choose App metrics5. The bar chart shows workload by day for the last 30 days4.
  • Click the day that looks worst. The pie chart shows which activity types used the most, with the workload and the number of runs for each4.
  • Click a slice to see what’s inside it: Page Load lists your pages, workflow types list the workflows, and search types list the searches. Clicking one takes you straight to it in the editor4.
  • For a spike today, the real-time chart shows the last 24 hours minute by minute4. Server logs, in the same tab, show when and how each action ran5.

Then open the heaviest page the way a customer would, on a phone, signed in as an ordinary user. Write down what you wait for. That’s your list, in order.

03Searches

Make every search ask for less

  • Constraints, not :filtered. Put the conditions in the search itself. Bubble advises avoiding the :filtered operator where you can, especially with advanced constraints, because simple constraints can be combined into one query on the database2.
  • Counts, not lists. If the page only needs a number, use an aggregation such as :count or :average, which returns very little data2.
  • Store numbers on the parent. Instead of counting employees inside every row of a company list, keep the count in a number field on each company and update it when employees are added or removed, for example with a database trigger2.
  • One search, used twice. Identical searches on a page run only once, so reuse the same search rather than near-copies of it12. Searches inside workflows run every time the workflow does2.
  • No manual refreshes. Searches on the page update by themselves2.
  • No chains of searches. Avoid searches that depend on another search’s results, and merge searches that fetch the same things3.

You don’t need to set up indexes: Bubble indexes for you, and indexing doesn’t use extra workload2.

04The page

Load less when the page opens

  • Show what’s needed first. Only load what the visitor needs straight away. Reports and statistics can sit behind a button or a tab1.
  • Short lists. Show around 10 to 15 records per repeating group, with paging or infinite scroll for the rest3.
  • Lean cells. Every element inside a repeating group cell adds drawing time, and nested repeating groups multiply it, so keep cells simple and avoid nesting36.
  • Fewer elements. For load time, the number of elements on a page matters more than what kind they are6.
  • Plugins you don’t use. Plugin code loads on every page, even where it isn’t used. Remove the ones you’ve stopped using6.
  • Heavy images. Keep SVG files under about 1 MB6.
  • A static front page. If your home page runs a product search for every visitor, ask whether it could be a fixed page instead1.

05Workflows

Move work off page load

  • Tracking. Analytics tools can record page views without spending your workload, instead of a workflow that writes to your database on every load1.
  • Create things when people act. A shopping cart, for example, can be created when someone adds the first item, not when the page opens1.
  • Keep load workflows light. Avoid searches in them where you can, and add a custom state such as “Page loaded = yes” so a workflow doesn’t run again when Go to page is used1.
  • Long calls. Bubble’s API calls time out after 150 seconds. Break long jobs into smaller steps3.

One more thing that’s easy to miss: every page load is work on Bubble’s server7, whoever does the loading. On one client’s new website, 46 of 48 visits in a day weren’t people. A heavy page costs you even when no customer is there.

06Keep it fast

A checklist, and when to get help

  • Look at App metrics once a week and note the top three pages, workflows and searches.
  • Check that every new search uses constraints and returns only what the page shows.
  • Keep lists paged and repeating group cells simple.
  • Keep page-load workflows to what can’t wait.
  • Remove plugins and elements nobody uses.
  • Decide what happens at your workload limit: with overages off, Bubble takes the app offline until you add workload or the next billing period starts8.

If your app is slow and you’d rather someone else found why, that’s what we do for apps built with Bubble: we find the heaviest pages and searches, fix them in your own editor, then watch speed and workload every day with someone on call. For everything else a live app needs, our guide to looking after an app built with AI covers it in plain words, and monitoring is how we hear about a slow page before your customers do.

Questions people ask

Is Bubble just slow?

Bubble’s own guidance says performance depends heavily on how the app is built9. Start with the pages and searches App metrics points to before blaming the platform.

Will a bigger plan make my Bubble app faster?

A bigger plan gives you more workload, but a page that loads too much stays heavy on any plan. Fix the heaviest page first, then decide whether you need more.

Does making the app faster lower my workload?

Usually, yes. Page loads, searches and workflows all count toward workload7, so a page that does less costs less.

Should I use :filtered?

Only when a constraint can’t express what you need. Bubble advises avoiding it where you can, especially with advanced constraints2.

What’s the quickest win?

Page your longest lists to 10 to 15 items and move reports behind a click13. Both are small changes that make the first screen load faster.