Closed rcastong closed 4 years ago
I hope this is fixed now. If it isn't, please reopen the issue. There isn't much more we can do here, other than redesigning the navigation entirely.
Should I ask Colette to test?
@ccolliga Feel free to discuss the issue here/below ...
My guess is that the the table filtering mechanism struggles with a table of this size.
I've run some tests to test this hypothesis using the Google Chrome profiler:
Javascript Status | DOMContentLoaded | load | Difference |
---|---|---|---|
On | 4809.4 ms | 13052.1 ms | 8242.7 ms |
Off | 1234.3 ms | 1335.0 ms | 100.7 ms |
What this suggests to me is that something is happening between the content of the page loading (DOMContentLoaded) and the actual final load (i.e. when you can click links etc) of the page that relies on some bit of Javascript.
As the table gets larger, the page will take longer and longer to load. So I think there are two options:
We split the table into separate pages for Browse by Date, Browse by Newspaper, Browse by Language, Browse by City. This has the added benefit of disaggregating the data, which might yield some interesting results (for instance, the distribution of articles per date will be readily visible to the user since the articles will be grouped by date).
Or we eliminate the filtering mechanism completely and just let people Ctrl + F and sort the table when they need to find things. Not very elegant, but it'd reduce the load time.
Hi Joey,
It seems that we will go forward with #1. I will close this issue and create a more appropriate one.
This is now a topic of discussion rather than an issue I would say. Colette shared that she still waits 17 second for the table to load. Therefore we need to think about how to best address this.
JT had proposed that we provide access to data on multiple pages (one page for each of the different "sorting" criteria used on the current page). In discussing with Colette on Skype she's also opened to the idea of using a dynamic search mechanism on the page. So instead of using sorting or whatnot a user would perform a search. Would staticized data be possible here? Iwas impressed by how fast that is.