Removing white space and minimizing load time

Bob Schneider
Bob Schneider used Ask the Experts™
on
Twp questions on this page: https://www.gopherstateevents.com/results/cc_rslts/cc_rslts.asp

1) Why is there so much space above and below the horizontal list beginning with "Awards" and how can I minimize that?
2) If I used a data table for the Individual Results, would that increase, decrease, or have no impact on load time?

Thank you!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ste5anSenior Developer

Commented:
D'oh? What awards?

Untitled.png
1) the space come from
mbr_additionnal.css

ul, ol, pre, blockquote {
    margin-bottom: 2.3125rem;
}

Open in new window


2) Using Datatables is to save time and have cool features like responsive, export etc.

In terms of simply displaying a table, I doubt there will be any appreciable difference in performance.

To speed up you can use Ajax form that get specific result instead of displaying all items.
For this you could use what they call server-side processing  https://datatables.net/examples/server_side/simple.html
or your use your custom code to append row and columns (this is what I do)

So for small result of data a few 100 I use regular way and load all data on page load.
When it become slower than a sec to load per 100 item I use ajax form to fetch less data.
This is always depending of the MySQL request complexity.
Bob SchneiderCo-Owner

Author

Commented:
Thank you very much!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial