The dashboard page is database intense. There are four sections. Initially only one is visible. If the initial page view was limited to populating this section, it would be faster. Other sections would be populated on-demand via ajax.
This got me rethinking database access in general.
At the moment,
we return all objects. As this web application matures, we will need to add pagination.
all fields of the object are returned. Review and only return what you need.
The dashboard page is database intense. There are four sections. Initially only one is visible. If the initial page view was limited to populating this section, it would be faster. Other sections would be populated on-demand via ajax.
This got me rethinking database access in general.
At the moment,