Skip to content

Revert "Server rendering for homepage, units and topics listing pages" #1838

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

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

jonkafton
Copy link
Contributor

Reverts #1822

The issue is that the cache invalidation for learning resources (to refetch them for user info) only fires after initial page load. If you load some page other than the homepage, for example, and then navigate to the homepage, that will get server rendered without the user info (learning_path_parents, user_list_parents) and will not be refetched.

@jonkafton jonkafton merged commit 9540c63 into main Nov 20, 2024
11 checks passed
@odlbot odlbot mentioned this pull request Nov 25, 2024
19 tasks
@rhysyngsun rhysyngsun deleted the revert-1822-jk/5920-prefetch-homepage branch February 7, 2025 20:41
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.

2 participants