Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache post listings and restore listing state when using browser back navigation buttons. #1526

Merged

Conversation

dudeami0
Copy link
Contributor

Possible solution to #1520, on loading post listings the RequestState<GetPostsResponse> is cached. When navigating away from the home page followed by using the browser navigation back button, the cache is used to restore the post listings to the state the user left it in.

@jsit
Copy link
Contributor

jsit commented Jun 29, 2023

Thanks for this! This fix doesn't seem to be working for me in iOS Safari on voyager.lemmy.ml. @SleeplessOne1917 @alectrocute @dessalines

Hm it seems like this might have been some cached JS for me — tried it again and it worked. Will keep an eye on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants