The rapid growth of mobile internet access in Africa is being hindered by the increasing bloat of modern websites and web applications. According to Omar Amassine, founder of TripleW Digital, the average web page now exceeds 2.5 to 3.5 megabytes, with a significant portion being JavaScript code that consumes valuable data and processing power on users' devices. This issue is particularly pressing in Africa, where over 85% of web traffic comes from mobile devices, often on patchy 3G or 4G networks with limited RAM.

The widespread adoption of Single Page Application (SPA) architectures has contributed to the problem. These architectures, designed for high-end devices and unlimited fibre connections, send large amounts of JavaScript code to users' browsers, which must be downloaded, decompressed, and executed before displaying the main content. On slower networks and lower-end devices, this leads to significant delays, with page loads taking up to 12 seconds. The impact is threefold: increased financial costs for users, processor bottlenecks, and high abandonment rates.

Amassine argues that a new approach is needed to address these challenges. He advocates for an ultra-light web that prioritizes server-side rendering, React Server Components, and HTML streaming. By computing the page structure on the server and sending a lightweight HTML document to the user's browser, the need for excessive JavaScript code is greatly reduced. This approach can lead to significant gains, including initial page loads under 50 KB, near-instant display times, and better search engine indexing.

The benefits of an ultra-light web are particularly relevant in Senegal and West Africa, where digital transformation relies on fintech, e-commerce, and public services. In these areas, software performance directly affects adoption rates. A responsive interface is crucial for building trust in e-commerce and fintech, while a lightweight interface can ensure equal access to public services and information, even in areas with limited internet connectivity.

To achieve these goals, developers and technical founders can adopt five key engineering habits. These include testing on real devices and throttled networks, compressing and deferring media, eliminating unnecessary JavaScript, controlling fonts and HTTP caching, and setting performance budgets. By adopting these practices, developers can significantly reduce the weight of their platforms and improve user experience.

The importance of digital sobriety cannot be overstated. As Amassine notes, it is a social infrastructure in its own right, enabling equal access to information and services regardless of device or location. By prioritizing ultra-light web design, African engineers can create a more inclusive and competitive digital landscape.

Ultimately, Africa's digital future depends not only on infrastructure development but also on the architectural discipline of teams building local services. By designing ultra-light, fast web applications, African engineers can drive inclusion, create a decisive commercial advantage for local start-ups, and demonstrate excellence in African engineering.

Key points

  • An ultra-light web can drive digital inclusion and economic competitiveness in Africa.
  • The widespread adoption of Single Page Application architectures has contributed to the bloat of modern websites.
  • Developers can adopt five key engineering habits to reduce the weight of their platforms and improve user experience.

Reporting sources

Share this story

Written by

SaharaWire Newsroom
SaharaWire

Reporting for SaharaWire from the Nairobi bureau.