Channel page claim caching / other optimizations #1255
Labels
area: ux
area: viewer
level: 3
Significant knowledge of the existing code is recommended
Tom's Wishlist
type: improvement
Existing (or partially existing) functionality needs to be changed
Milestone
The Issue
When you go into a channel page likelbry://@lumbridgecity, the page starts fetching content which takes a bit of time. If you enter a claim or go to another page, and then go back, it re-fetches content again making this a slow process. We should try to add some type of caching to reduce the subsequent load times. Have to take into account new/updated claims as well.
Update: The current process also runs claim_list_by_channel on the first page which returns all the claim data. It then proceeds to run a resolve on each of the claims (if they have not been visited in the current session). The resolve should not be needed as the prior call has all claim data returned. If we do need to run a resolve, we should batch it.
Expected Behaviour
Faster subsequent load times
Actual Behaviour
Reload every page as if it were the first time seeing it
Suggested Solutions
Employ caching strategy
System Configuration
Anything Else
Screenshots
The text was updated successfully, but these errors were encountered: