The social media platform X has launched a rebuilt web application, significantly improving load times for user profiles. Under Slow 4G network conditions, the time required to load the first post on a profile page has been reduced from 22 seconds to 2.7 seconds, marking an 87.73% improvement.
The previous architecture, known as rweb, had been in use for nearly a decade and relied on separate systems for user rendering, search engine indexing, and link previews. This fragmentation required redundant maintenance across multiple codebases. The engineering team has now consolidated these functions into a single server architecture.
The new application utilizes technologies including Vite, React, Fastify, Relay, and GraphQL, while implementing streaming server-side rendering. This allows the browser to display content immediately as data arrives, without waiting for the full JavaScript download. Additionally, the number of startup files for logged-out pages has dropped from 582 to 10.
Development of the initial version was completed in under six months by a team of fewer than five engineers, heavily leveraging AI coding agents for migration, testing, and bug fixes. Since late September, the project team has expanded to over 20 people. The new system is currently live for logged-out users and search engine crawlers, with a phased rollout for logged-in users.






