How to optimize query loop performance inside tabs in bricks builder?

Hi there!
I’m building a schedule page using Bricks Builder, with a tabbed layout that displays events for 7 different days (Monday to Sunday). Each tab contains a Query Loop filtered to show events for that specific day.

The structure works well (screenshot attached), but I’m noticing slow initial load times, likely because all Query Loops are being rendered on page load, even if the content is not immediately visible (since it’s hidden behind tabs).

I’m looking for advice on how to improve performance by:

  • Running the loop only when a specific tab is clicked
  • Or loading tab content via AJAX on demand
  • Or conditionally initializing the loop only for the active tab

Has anyone dealt with this scenario in Bricks and found an efficient solution?

Thanks in advance for any suggestions or best practices! :pray:
Screenshot attached for reference.