mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #312] Server side pagination #229
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#229
Loading…
Add table
Add a link
Reference in a new issue
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?
Originally created by @eSoares on GitHub (Jan 21, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/312
Type
What is the problem that your feature request solves
Currently no pagination is performed in the server side. Yes, jQuery Datatables is used and can provide pagination, but if you amount of links grows it will terribly slow at the opening the page, not solving the problem at all since the problem is the browser render.
The problem are browsers are not designed to handle HTML tree so big.
In my current setup I have archived above 10k urls, which make ArchiveBox almost impossible to open. The index.html file returned from the server is 57MB.
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
The best solution would be supporting pagination from server side, and perform AJAX requests on the web page to load more results.
Extra note: with the pagination, search on the server also needs to be supported.
How badly do you want this new feature?
Currently is a deal breaker for me to use part of the project, since is impossible to even load the start page.
@pirate commented on GitHub (Feb 4, 2020):
This is fixed in v5.0 with
archivebox server(it's a full Django server with server-side search in v5 and server-side pagination). Follow this PR for future progress https://github.com/pirate/ArchiveBox/pull/275@pirate commented on GitHub (Jul 24, 2020):
This is released in the new 0.4 branch.