omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
13.61k stars 880 forks source link

Feed takes a long time to load #3472

Open northgardner opened 9 months ago

northgardner commented 9 months ago

I use Omnivore frequently when riding the subway, where there is no cellular or wifi between stations. When I go to the feed, it often takes a long time for it to load. signal-2024-01-31-113043

jacksonh commented 9 months ago

Are you sure you are offline there? Statusbar looks like its showing connection, i wonder if its a slow/breaking connection that its trying to load. Do you mind putting in airplane mode and seeing if you get the same results?

northgardner commented 9 months ago

I may have been online at that moment, as I may have been entering a station, where there is cellular service.

This has not happened when I have gone on airplane mode.

On Jan 31, 2024 at 10:35 PM, <Jackson Harper @.***)> wrote:

Are you sure you are offline there? Statusbar looks like its showing connection, i wonder if its a slow/breaking connection that its trying to load. Do you mind putting in airplane mode and seeing if you get the same results?

— Reply to this email directly, view it on GitHub (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_omnivore-2Dapp_omnivore_issues_3472-23issuecomment-2D1920442513&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=Jmc1VvOhpiDlTorRHPuWI8Epiv0mHqKdwamd55_Fzxc-MnnJ6Xofz98CzkqFFO9R&s=eCNyz7_qZVdEVfFktni4dwmSKgRhCjYbCwGX4dJUBhg&e=), or unsubscribe (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADDPNYZB7IAWG2VYTGXLI53YRMEQDAVCNFSM6AAAAABCTL4KWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGQ2DENJRGM&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=Jmc1VvOhpiDlTorRHPuWI8Epiv0mHqKdwamd55_Fzxc-MnnJ6Xofz98CzkqFFO9R&s=dw2Qj1NNWoBR1hShhbKX-gijqxWCgza4BIlXZQJmoVQ&e=). You are receiving this because you authored the thread.Message ID: @.***>

northgardner commented 9 months ago

I've just seen this behavior when fully connected to wifi, although length of time it looked like that was shorter than it often has been when I'm in and out of cellular service. This time was about five seconds.

northgardner commented 8 months ago

After observing this over the past month, I no longer think this is related to being offline. The issue has continued though. I wonder if it is related to the number of items in my Inbox, which is in the thousands.

chrismatheson commented 8 months ago

Yes I see similar. Looks (to my untrained in this codebase eye) like maybe there is a

if(online){
  refresh data then render
} elese {
  get data from cache then render
}

maybe a stale while refresh approach could make things feel a little snapper ? https://www.geeksforgeeks.org/next-js-swr-stale-while-revalidate-introduction/

jacksonh commented 8 months ago

Do you happen to have a lot of PDFs at the top of your list?

northgardner commented 8 months ago

No. I’m not sure if I have any PDFs at all in my list.

On Mar 9, 2024 at 3:47 AM, <Jackson Harper @.***)> wrote:

Do you happen to have a lot of PDFs at the top of your list?

— Reply to this email directly, view it on GitHub (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_omnivore-2Dapp_omnivore_issues_3472-23issuecomment-2D1986797210&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=1273WjE2VA-oAq0W4Z-Jgr7SjQ_F2JyxRxM_cjZ5fMhm0hwKeeh-WZAkiODE6Lvz&s=zlA3ue1Ve0c6D0HpomUaLAAh1A6-r5CrSYJDLkyw2U4&e=), or unsubscribe (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADDPNY6WD77CW5OYFBGUIGTYXLEBRAVCNFSM6AAAAABCTL4KWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWG44TOMRRGA&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=1273WjE2VA-oAq0W4Z-Jgr7SjQ_F2JyxRxM_cjZ5fMhm0hwKeeh-WZAkiODE6Lvz&s=NxhGNnFPkfbas2TAOG_ocwIGJ8LGRVsJe_l1BSDI94w&e=). You are receiving this because you authored the thread.Message ID: @.***>