Limit number of stations on index page #69

Closed
opened 2024-09-12 11:47:58 -05:00 by W1CDN · 4 comments
Owner

Maybe just show stations from the last 24 hours and have links to other timeframes. This may speed up the page load. I don't remember if the count statistic is being calculated on the fly or not; if it is, don't do that.

Maybe just show stations from the last 24 hours and have links to other timeframes. This may speed up the page load. I don't remember if the count statistic is being calculated on the fly or not; if it is, don't do that.
W1CDN added the
bug
label 2024-09-12 11:47:58 -05:00
Author
Owner

Well, it's not doing it with ?n=20, so need to check on what query parameters I built in.

Well, it's not doing it with `?n=20`, so need to check on what query parameters I built in.
Author
Owner

Limited to 10 by default now: c8f8f28a4a

Still taking like 7 seconds to load the page though. I wonder if a cache table could be made (looks like I mentioned this earlier).

Limited to 10 by default now: c8f8f28a4ac86dde5bd9d6c25dbc4760b17f6b08 Still taking like 7 seconds to load the page though. I wonder if a cache table could be made (looks like I mentioned this earlier).
Author
Owner

Individually, /stations is much faster than /packets, even limited to default 10. Is that because the table is much larger or the query more complex?

Individually, /stations is much faster than /packets, even limited to default 10. Is that because the table is much larger or the query more complex?
Author
Owner

select_frames() now orders by id (index) rather than created and it is much faster now. a5978c2289

`select_frames()` now orders by `id` (index) rather than `created` and it is much faster now. a5978c2289
W1CDN closed this issue 2024-11-20 19:30:51 -06:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: W1CDN/aprs_tool#69
No description provided.