Limit number of stations on index page #69
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: W1CDN/aprs_tool#69
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Well, it's not doing it with
?n=20
, so need to check on what query parameters I built in.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).
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?
select_frames()
now orders byid
(index) rather thancreated
and it is much faster now.a5978c2289