🇬🇧 English | 🇫🇷 Français
In Dakar, Abidjan, Casablanca or Nairobi, access to information, banking services and administrative procedures now runs overwhelmingly through the smartphone. On the African continent, more than 85% of web traffic is mobile, often over patchy 3G or 4G networks, on devices with 2 to 4 GB of RAM, and with prepaid data plans counted down to the last megabyte.
Yet a major technical paradox is quietly holding back the adoption of local digital services: the growing bloat of modern websites and web applications. The average web page now exceeds 2.5 to 3.5 megabytes, a considerable share of it JavaScript code executed directly on the processor of the user’s phone. When opening an e-commerce portal, an education platform or a government service takes twelve seconds and needlessly eats into a citizen’s data credit, software performance stops being a mere technical indicator: it becomes a direct issue of digital inclusion and economic competitiveness.
1. Web bundle inflation: an invisible tax on mobile users
Over the past decade, the web development ecosystem has widely adopted so-called “Single Page Application” (SPA) architectures, originally designed for unlimited fibre connections and high-end devices. In this classic model, the server sends an almost empty HTML page along with several hundred kilobytes — sometimes several megabytes — of JavaScript that the browser must download, decompress, parse and execute before displaying the main content.
For a user on fibre with a recent computer, this overhead is barely noticeable. On an unstable 3G connection or a 4G network saturated at peak time, the impact is threefold:
- The direct financial cost: every uncached visit to a heavy site takes several megabytes out of a prepaid plan, which discourages regular use.
- The processor bottleneck: a megabyte of JavaScript takes far more computing power to decode and execute on a modest smartphone than a megabyte of images. The screen freezes, scrolling stutters and buttons stop responding.
- Abandonment before display: beyond three to five seconds of latency on mobile, abandonment rates commonly exceed 50%. Local start-ups lose hard-won customers as a result.
Continuing to pile on bulky client libraries, uncompressed fonts and unnecessary scripts amounts to imposing an invisible tax on African users.
2. Server-first and “zero-JS” architecture: the power of lightness
Modern web engineering now makes it possible to combine dynamic interfaces, security and extreme lightness. The return to the web’s fundamentals — driven by server-side rendering at the network edge (Edge SSR), React Server Components and HTML streaming — reverses the logic of the past decade.
In practice, instead of shipping all the application logic to the user’s phone, the server computes the page structure, queries the databases and immediately sends an HTML document ready to be read. The browser no longer has to execute hundreds of kilobytes of JavaScript to display an article, a product page or a dashboard.
The gains measured in production are significant:
- Initial pages under 50 KB: by limiting JavaScript interactivity to the components that need it (forms, shopping carts, dynamic filters), the transferred weight falls by 70% to 90%.
- Near-instant first display: even on a degraded mobile network, useful text and key actions appear in under a second.
- Better indexing: pages served directly as structured HTML are easily understood by traditional search engines and AI answer engines, increasing local players’ organic visibility at no extra advertising cost.
3. Speed and digital sobriety: the foundation of e-commerce and public services in Senegal
In Senegal, as across West Africa, digital transformation rests on three pillars: fintech and mobile payments, local e-commerce, and the digitisation of public services. In each of these areas, software sobriety determines whether people actually adopt the services.
In e-commerce and fintech, trust depends directly on how responsive the interface is. A payment flow that takes eight seconds to react on mobile breeds distrust, causes double clicks and leads to abandoned carts. Conversely, a lightweight interface that responds in under 100 milliseconds immediately conveys reliability, while remaining accessible from peri-urban or rural areas where the signal fluctuates.
For public administrations, media and education platforms, the stakes are just as strategic. Making a scholarship, public health or economic information portal usable at under 100 KB per page guarantees equal access, whatever phone model is used. Digital sobriety is social infrastructure in its own right.
4. Five engineering habits to adopt right away
Developers, technical founders and web agencies in Senegal and across Africa can cut the weight of their platforms today through five simple practices:
- Test on real devices and throttled networks: never sign off a site on desktop Wi-Fi alone; always simulate a slow 3G connection and 4x CPU throttling.
- Compress and defer media: convert images to AVIF or WebP, size them precisely and enable lazy loading below the fold.
- Hunt down unnecessary JavaScript: audit third-party dependencies (heavy widgets, redundant trackers, blocking animations) and favour server rendering for editorial content.
- Control fonts and HTTP caching: limit typeface variants to the WOFF2 format and set strict cache headers on a CDN with points of presence in Africa.
- Set a performance budget: before every release, enforce a clear limit, for example less than 150 KB of critical JavaScript and main content displayed in under 1.5 seconds on mobile.
Conclusion
Africa’s digital future does not depend solely on rolling out fibre or 5G: it also rests on the architectural discipline of the teams building local services. Designing an ultra-light, fast web that respects citizens’ mobile data plans is at once a lever for inclusion, a decisive commercial advantage for our start-ups and a mark of excellence for African engineering.
Omar Amassine is a software engineer and the founder of TripleW Digital, a web engineering and technical SEO studio based in Agadir, Morocco, specialising in high-performance web architecture, mobile development and search engine optimisation.
Photo: DR
Ne manquez aucune actualite tech et startup
Rejoignez notre chaine WhatsApp et abonnez-vous a SNL TV sur YouTube.
Rejoindre WhatsAppVoir SNL TV sur YouTube



