One or twice a month I will just check if the Optimize Application feature can find sth. It never found anything. This is standard screen I saw for the past 6 months which was great
This is a run from today
I’m not gonna touch "Clean app: for now.
Can you guys check if everything is ok on your side?
For me, it never works the 1st time I click that button. I always have to click it a second time for it to actually do anything. I’ve never bothered to report it though.
No, but I suspect that each time you clicked that button over the past 6 months, there WAS actually clean-up to do, but if you never clicked it a 2nd time, you’d never know.
To clarify my comment… Every time I click the clean-up button, I see the dialog stating that the app is already cleaned; but if I dismiss that dialog and immediately click the button again, I see the actual clean-up dialog - i.e. what I expected to see the first time I clicked the button.
Therefore, I suspect that all those dialogs over the past 6 months stating that your app was clean were a lie. If you never bothered to click the button again after dismissing that dialog, the app would never have been truly cleaned.
Wow just realized this was happening… One of my old apps has been telling me its clean for a while… Clicked it again and it FINALLY gave me a full list of things to clean. @sudsy Thanks!
Ran it and note that Bubble says “Bubble apps can contain unused items that make the app bigger over time. Here are some items you can delete for better performance.”
Listed below are a bunch of things that I did not expect would hurt performance (e.g. unused styles).
I thought only used styles are loaded. For example, if I have an unused style but it doesn’t appear on any pages, how does it slow my app’s performance down?
Is Bubble referring to performance in the Bubble editor (of little concern to me)? I could possibly see how unused styles could affect the editor performance.
Or is Bubble referring to performance that would affect end users (of great concern to me)? I don’t understand how an unused style would affect this type of performance.
Let’s say you have 1000 unused style/items. Loading time will be approx. 1 to 4 sec. longer. Rarely the case for most of us. Cleaning code is always better than not.
Thanks for the reply. But I still don’t understand why. Why would an unused style affect a page’s load time?
Let’s say I have Styles A and B. Style A is used on a page. Style B is not. Why would Style B affect this page’s load time?
The only explanation I can think of is that Bubble might have to do an operation similar to Do A Search For to find the appropriate style and if the list of styles is long then this search would take longer but I didn’t think that was how styles were loaded.
Just echoing what others have said. Ever since I can remember, every single time I’ve used this feature, I’ve had to click the button two or three times for it to run properly. I’ve thought about reporting it many times, and always forgot.