OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
210 stars 66 forks source link

Navigating "Back" into a page with lots of tiles is slow #214

Open infinite-persistence opened 2 years ago

infinite-persistence commented 2 years ago

Couldn't find the Desktop version of the ticket, so opening a new one. It's been this way since 2020, so we can isolate this from the recent slowdown that we are seeing (although they all add up).

Issue

If you navigate back to a page with lots of claim tiles, it takes several seconds to load (proportional to number of tiles).

Reproduce:

  1. Enter any category page
  2. Scroll to 10+ or more pages
  3. Click on a tile
  4. Back -- the more tiles in the previous page, the more longer it takes. Also more apparent in slower machines or mobile.

Causes

Explored solutions

infinite-persistence commented 2 years ago

Alternative ideas: