The media in this post is not displayed to visitors. To view it, please go to the original post.
I redesigned the Top row algorithm to better handle DMs + Group Chats.
We basically prioritize existing chats, then mutuals and finally recently following.
Cache busting was required to handle updates to following, conversations and blocking, but it's more performant with more relevant results!
I broke it down into two separate pools of results weighted accordingly.
First time using `Cache::flexible(` 😎
github.com/joinloops/loops-ser…
loops-server/app/Services/ShareSheetService.php at main · joinloops/loops-server
The federated short video sharing platform. Contribute to joinloops/loops-server development by creating an account on GitHub.GitHub