Show Navigation
Conversation
Notices
-
You may have noticed timelines are a bit faster, here is how we did it:
Every home timeline request previously used 4 sql queries (following, private profiles, user level mute/block profiles and the timeline query itself).
We cached following and private profiles, reduced pagination limit from 5 to 3 and re-enabled infinite scroll.
There is still a lot of room for performance optimization including caching mute/blocked profile lists and redis timeline based cursor pagination which we plan to finish in the next week! #pixeldev