Hey guys!
What are some of your best and favorite tips for building apps that load and run fast? App speed matters, and so having a helpful post that compiles it all sounded like a good idea!
Thanks for sharing
Hey guys!
What are some of your best and favorite tips for building apps that load and run fast? App speed matters, and so having a helpful post that compiles it all sounded like a good idea!
Thanks for sharing
There are many ways I think. Some I can think of off the top of my head.
Hope that gets it started. If I think of more I can add to it.
Hope that helps!
For All Your No-Code Education Needs:
Agree with Jason above, hereās my bubble stackā¦
I recommend building sequentially ā build a feature, test for speed, if OK proceed, if not go back and figure it out. That way you have a good sense of how much speed each feature takes and can isolate issues.
Some guides I consider essential reading on performance are:
Bubbleās manual on performance: https://manual.bubble.io/architecture-optimization-and-limits-of-the-bubble-engine/performance-and-scaling#performance-and-scaling
AirDev guide: https://docs.airdev.co/bubble-development-guide/steps/develop/optimize-speed
Forum thread: Performance Q&A guide
Forum thread: A fair and honest chat about Performance
Thanks! What do you mean by "lean data-types "and āprogressive workflowsā?
poin 8, do you think unecessary pages will affect app performance? I usually keep quite a lot of unused pages just for backup for my appās prev version
Anwar
If you know the ādata-typeā is going to carry more than 10 ālist-of-thingsā break it down.
If at first glance I donāt know what a workflow does, itās probably too complicated⦠so I only ever do 1 action at a time and if the action is used more than once, I would truncate it into a custom workflow and drop it into another workflow to make it 'progressive.
Let me know if you need further clarity.
I know for sure it affects the performance when using the editor and loading your app.
Is this achievable? There are many plugins I feel are necessary when using Bubble.
From 10 years building tech, this is a mindset that always works:
Thereās āhow it feels likeā and āwhatās really happening.ā Try an hide as much as you can fro your user. Give the impression that everything is fast by giving near-immediate feedback, then process stuff in the back.
Design custom loaders, gif spinners, and use animation to give the impression that everything works instantly while hiding processes in the back.
In Bubble, save stuff inside states, show instant results (or temporary results) while you fetch data.
Throw any workflow longer than 3 steps to the backend. Anything UI related that your users need immediate feedback, by all means do them in the front. However, using the backend for workflows is awesome, and it allows you to reuse these workflows from anywhere in the app.
Instead of searches that need to sift through gigantic lists, try and nest a small set of that data where it will be referenced (like a userās total orders, for example).
@J805 @nomorecode These are gold, as well! We should have a wiki or Sticky thread somewhere, @emmanuel thoughts? Performance is the general pet-peeve of Bubble newcomers, and bad performance is usually just lack of experience setting stuff up.
Yes @alejandrowunderlich, thanks for the reminders. Backend workflows are amazing for speed.
This also reminds me of another idea.
Donāt delete things if you donāt have to. That process takes too long. Just have a field called delete y/n and when it says yes then just donāt show it. Instant delete!
Then you can āDelete, delete, delete!ā All you want. Anyone get the reference there?
Once delete is set to āYesā you could sched this to run at X without the user ever knowing
In my short but thorough time with Bubble, if you canāt do something native, then donāt do it at all. There are some poorly devād plugins out there, not to mention the time needed to even search the plugin inventory. Keep things lean, instant, rinse and repeat.
Just out of curiosity, what plugins do you deem as necessary?
Solid replies guys! Iāve gone through and implemented a few. I especially like the delete y/n one; thanks @J805
Ah, @nomorecode⦠I have always wondered if I am the only one around here with that mindset because I see so many responses in the forum that point people to plugins for just about everything. With all due respect to the fine folks who have built some really amazing plugins, Iām with you on native or bust because I donāt want to give up the level of control that comes with figuring out my own solutions.
The above being said, I have used a plugin or two in the past, so huge thanks to the folks who build them.
Bestā¦
Mike
Nope and I donāt think we are alone @mikeloc, if I canāt do it native, I donāt do it at all.
Great post! Good valuable inputs from everyone which will benefit everyone reading this.
The RepeatingGroup Tools is the one plugin I felt we needed to get in order to accommodate what we were trying to do.