The question: what happens when you preload data on you page?
My app has a couple of things: “user”, “Campaign”, “results” and “rules”.
On the page the user can log his ‘results’ he gets from following his ‘rules’, all relating to his current ‘campaign’.
At first I just put ‘search for’ everywhere, but based on getting to know bubble better I thought to make it more efficient, so I defined type of content of the page ’ campaign’ and send the user the link with data on which campaign the results are for. That way, workloads on that page have a condition ’ for current page campaign’.
At the same time the repeating group in which the checkboxes for the resuls are have type of content ’ results’ with database ’ search results’ last point.
The databases are super small, but now, even before the workload for the ‘please wait’ popup begins it takes up to 8 seconds before anything happens.
What am I doing so godawfully wrong here?
Just wanted to add some info to clearify:
After some experimements it is now apparant that if I delete the data source on this group it will shave of around 4 seconds of the initial loading page ( which will cause a lot of errors of course…just for testing the speed on staryup):
That weekly points thing has about 14 fields and currently 34 lines ( records).
Aren’t you guys using ‘Data source’? I hear everybody talking about 1 second page loads…but if using a single Data source on a group will add 4 seconds to my page load I cannot imagine this is being used a lot.
Gosh darn it! It just feels wrong. Playing around it feels like the thing that is lagging the page is the preload, but especially the fact on every search I use ‘current campaign’ as a condition for the data search.
How come this makes the page sooo slow?
I am trying to build this thing properly and don’t get why this is costing me multiple seconds extra.
You guys build apps with bleeping high dev photo’s being in it with super fast loading time, and mine is just absolutely flabbergasted when it needs to get a few letters from the database
Honestly, I still do not entirely grasp what all the repercussions are when you make a page ‘a type of content’. Is there some disadvantage when you make the page type of content ‘campaign’ and then make a group another type of content?
If the poor performance is consistent, it is likely that there are operations waiting on the results of other operations, which can mean many more trips between the server and client.
Another possible cause is a search having to retrieve lots of data from different data types.
If you create a new page, with just a repeating group, a search for Weekly points with no constraints, and a text element to show one of the fields, how is the performance?