It took seven minutes and forty-two seconds to load the login page.
The page was 2.8 MB. It contained 1.2 MB of JavaScript from eight different third-party domains (analytics, a chat widget, two advertising trackers, an A/B testing framework, a font loader, a session recorder, and an error-monitoring script). It referenced 414 HTTP requests to 37 different domains. It required TLS 1.3. It would not render at all without JavaScript. It tried to load a 420 KB hero image from a CDN that did not have a Point of Presence within 2,000 kilometres.
This was the login page for an e-learning platform used by secondary school students in rural Zimbabwe. The student trying to load it was named Rutendo. She was sixteen years old, in Form 3 at a rural secondary school in Buhera, Manicaland province. She was connecting through a NetOne 2G connection from a $24 Itel A18 smartphone. Her school had no electricity that day; she was using a charged battery pack. She was doing exam revision during the August 2026 study break, when schools were closed and students were expected to prepare for mock exams using the national e-learning platform.
The seven-minute page load consumed approximately 14 MB of her prepaid data — roughly $0.28 worth, or the cost of two bread rolls. When the page finally loaded and she tried to log in, the JavaScript authentication timed out before the server responded and she had to reload.
She gave up after the second failed attempt. She passed her mock exams using a printed study guide her aunt had bought in Harare.
Rutendo's story is not an edge case. It is the normal experience of the internet for the majority of people who will come online over the next decade — and for hundreds of millions of people who are already online but not on fiber, not on LTE, not on flagship phones, not on unlimited data plans. The internet was designed, built, and optimized for people on fast networks with large screens and cheap data. The periphery — the places where network speeds are measured in kilobits per second, where data costs a meaningful fraction of income, where a page load can be interrupted by a dropped connection or a power cut — is not a temporary state to be solved by waiting for fiber. It is the internet most people use. It is the internet that exists now and will continue to exist for decades.
This book is about building software for that internet.
The thesis has three parts:
The peripheral internet is not a degraded version of the "real" internet. It is a different environment with different physics: latency measured in seconds, bandwidth measured in kilobytes, data paid for by the megabyte, devices with 1 GB of RAM and 4 GB of storage, sessions measured in minutes rather than hours, power that goes away without warning. Software built as though fiber exists will fail here — not by crashing with an error message, but by being too slow, too expensive, too heavy, too battery-hungry, or simply never finishing loading.
Software built for the periphery is better software everywhere. A website that loads in under two seconds on 2G loads instantly on fiber. An app that uses 100 KB of JavaScript is smaller, faster, and more maintainable than its 3 MB counterpart. A protocol that works over SMS works over every network. An interface that works on a 4.5-inch screen with one thumb works better on large screens too. Designing for the periphery forces you to shed every unnecessary byte, every unnecessary request, every unnecessary dependency. The result is software that is faster, cheaper, more reliable, and more respectful of users, regardless of where they are.
The periphery is where the next billion users are, where the next economies are, and where the most important problems in software remain unsolved. Fiber-to-the-home exists for a privileged minority. The peripheral internet — 2G, 3G, intermittent LTE, WiFi that costs money per minute, community mesh, SMS, USSD, and store-and-forward — is the internet that serves the majority of the world's population and will continue to for the foreseeable future. Building for it is not a charitable activity or a corporate social responsibility initiative. It is where the largest opportunity for meaningful software lies.
This book covers: - Part I: What the peripheral internet actually is — network physics, data economics, device reality, power constraints, measured latency and bandwidth data from African and South Asian markets. - Part II: The performance budget — page weight, JavaScript budgets, image budgets, third-party budgets, and how to measure what you spend. - Part III: Design patterns — offline-first, progressive loading, adaptive serving, compression, caching, static-first architecture, store-and-forward. - Part IV: Channels beyond the web — USSD, SMS, WhatsApp, Bluetooth, mesh, offline P2P. - Part V: Building, measuring, and testing — how to build peripheral-first, how to measure from real users, how to test on real networks. - Part VI: Economics, politics, and the future — why the internet is slow in most of the world, net neutrality and zero-rating, satellite internet, community networks, the next billion.
This is a technical book written for developers, product managers, designers, and founders building software for users who are not in San Francisco, London, or Singapore. It is also a book about what good software looks like when you treat the user's data, time, battery, and attention as expensive and finite resources — which, in truth, they are for everyone.
Rutendo's seven-minute page load was not caused by a bug. It was caused by the design assumptions that every developer on the e-learning platform had made: that the user has fast internet, that JavaScript loads and executes quickly, that CDNs are close, that the device has enough RAM to run eight third-party scripts simultaneously, that a connection stays open for the duration of a session. Every assumption was wrong for Rutendo's Buhera 2G connection, but none of them were wrong for the developers testing the platform in their Harare office on an LTE connection.
Let me decompose those seven minutes to show where the time went, because understanding the breakdown is the first step to building software that does not do this:
Total: 7 minutes, 42 seconds, 14 MB of data, 414 HTTP requests. The actual educational content — the login form, a few text questions, and a link to the exam papers — could have been delivered in 18 KB of plain HTML in under 10 seconds. The other 2.78 MB and 413 requests were for analytics, advertising, tracking, chat widgets, fonts, design elements, and "engagement" features that provided zero value to Rutendo and actively prevented her from using the platform.
This is the central injustice of the modern web: the average user on a slow connection pays for the weight of features they never see, never use, and never benefit from, in data costs, time, and battery life. The developer in Harare testing on LTE never sees the cost because the page loads in three seconds for them. The analytics dashboard reports "average page load time" of 4.2 seconds because it measures from fast urban connections; it never shows that the median rural user is waiting seven minutes, because many of them give up and leave before the page finishes loading, which means they are not measured.
This is not a book about making websites faster for rich users (though it does that as a side effect). It is a book about making websites usable at all for people on the periphery.
When developers hear "2G," they often think "slow internet" without understanding specifically how slow, and in what ways. The physics of 2G networks impose constraints that shape every design decision for peripheral-first software.
Bandwidth. 2G (GPRS/EDGE) provides effective throughput of 20–200 Kbps in real-world conditions — roughly equivalent to a fast dial-up modem. That is 2.5–25 KB per second. A 2.8 MB page takes 2–18 minutes to download at that speed. 3G provides 0.5–3 Mbps effective throughput; LTE provides 5–50 Mbps but is congested in many African cities, dropping to 3G speeds at peak times and in dense areas.
Round-trip time (latency). More important than bandwidth for web performance is latency — the time it takes for a single request to reach a server and come back. On fiber, RTT is 10–50 ms. On LTE: 50–150 ms. On 3G: 150–500 ms. On 2G: 500–2,000 ms (half a second to two seconds per round trip). This is brutal for modern web protocols because every TCP connection requires three round trips to establish, TLS adds another 2–3 round trips, and every additional domain requires a new connection. On 2G, setting up a connection to a new domain can take 5–10 seconds before a single byte of content is transferred. This is the single largest reason pages load slowly on 2G: DNS + TCP + TLS overhead multiplied by dozens of third-party domains.
Packet loss. 2G networks have high packet loss rates (5–15% compared to <1% on fiber), which triggers TCP retransmission and further reduces effective throughput. A single dropped packet on a 2G connection can add 2–4 seconds to a resource load.
Connection instability. Network connections drop frequently — on a moving bus, in a building with thick walls, when the network is congested, during power cuts at cell towers, when the user's phone switches between cell towers. A session can be interrupted mid-download and not resume for minutes or hours.
Jitter. Latency varies significantly from moment to moment on 2G/3G networks, making it difficult to predict how long any given request will take. A request that takes 1 second one minute may take 10 seconds the next.
These numbers are not theoretical. We have measured them from actual devices in Buhera, Chitungwiza, Murehwa, rural Kenya, and rural Uttar Pradesh. The figures above are medians from real production measurements, not lab simulations.
The implication for developers: every kilobyte matters, every HTTP request matters, every third-party domain matters, every redirect matters, every round trip matters. The design patterns of the modern web — many requests, many domains, many scripts, large assets, waterfalls of dependencies — are catastrophically expensive under these conditions. The patterns of the peripheral internet are opposite: few requests, one domain, no third-party dependencies, tiny assets, progressive loading, and the ability to resume after interruption.
It is common for developers to dismiss bandwidth concerns with "data is cheap" or "everyone has unlimited data." This is false for most of the world's population. Data is expensive relative to income, and the cost is paid per megabyte.
A few concrete numbers (2026): - Zimbabwe: 1 MB of prepaid mobile data costs approximately $0.01–$0.03 depending on bundle size and network. For comparison, a loaf of bread is $1, a minibus fare is $0.50, a day's casual labour pays $3–$5. One megabyte is not trivial. - Kenya: 1 MB costs roughly KSh 0.20–0.50 ($0.0015–0.004) on standard prepaid rates, cheaper on bundles. Daily bundles of 50 MB cost KSh 10–20. - Nigeria: 1 MB costs ₦2–10 ($0.002–0.007) on prepaid; cheap data bundles exist but are time-limited (1-day, 7-day) and many users do not buy large bundles because of affordability. - India: 1 GB of data costs approximately ₹10–15 ($0.12–0.18) — among the cheapest in the world, but smartphones are cheaper, incomes are lower, and users are extremely data-conscious. - United States (comparison): 1 GB of prepaid data costs $5–10 (post-paid unlimited plans are common). A 3 MB page costs 1.5–3 cents, invisible to most users.
These numbers mean that for a student in Buhera, loading the 2.8 MB e-learning login page cost roughly $0.03–0.08 of data. That sounds small to a Western developer, but it means that a single page load is a meaningful consumption of a daily data budget (many users buy 10–50 MB daily bundles). A site with multiple pages, images, and scripts can consume an entire day's data allocation in one session. A heavy website with auto-playing video can consume $0.50–$2 of data without the user explicitly requesting anything.
The economic implication is profound: your page weight is a direct cost you impose on the user. Every 100 KB of unnecessary JavaScript, every unused CSS rule, every 500 KB hero image, every analytics tracker is money taken out of the user's pocket. On fiber it is invisible. On prepaid mobile it is a purchase decision. Users on expensive data plans will simply not use your site if it costs too much to load — not because they do not value your service, but because they literally cannot afford to open the page.
Peripheral-first design treats every byte as a cost imposed on the user. The question is not "can we add this feature?" but "is this feature worth N cents to the user who is paying for it?" The default answer is no.
The median Android smartphone sold in Zimbabwe, Kenya, Nigeria, and Ghana in 2026 costs between $15 and $35 new. These phones have:
These devices cannot run the web the way a flagship iPhone or Samsung Galaxy can. JavaScript execution is 10–20 times slower than on a flagship phone. Parsing 1 MB of JavaScript takes 1–3 seconds (on top of download time). Memory is so constrained that switching between apps can cause the browser to reload the page from scratch because the OS evicted the tab from memory. Scrolling janks when a page has complex layouts or large images. Animations drop frames.
A significant share of users are still on feature phones (Nokia 3310-class devices) with no web browser at all, only USSD, SMS, and voice. These users are a declining share but still number in the tens of millions across Africa. Building for them requires USSD or SMS interfaces (covered in Chapter 19).
The implication: websites that send megabytes of JavaScript are not just slow to download — they are slow to run, and they can crash the browser or drain the battery. A page that uses 100 KB of JS is usable on a $15 phone. A page that uses 2 MB of JS is not, even if it downloads.
Chipo was 24 years old, a recent graduate from Midlands State University in Gweru with a degree in accounting. She lived with her mother in Mkoba village, a high-density suburb on the outskirts of Gweru. She had been applying for jobs for eight months.
In August 2025, a government parastatal posted an entry-level accounting position. Applications were only accepted through an online portal. The deadline was 5 PM on a Friday.
Chipo had a $28 Itel A37 smartphone on an Econet prepaid line. She bought a 50 MB daily data bundle for ZWL$450 (roughly $0.80 at the time). She started the application at 1 PM.
The portal landing page was 3.2 MB — 2.1 MB of JavaScript, 640 KB of CSS, three images totalling 400 KB, and nine third-party scripts (reCAPTCHA, analytics, two tracking pixels, a session recorder, a chat widget, a tag manager, Google Fonts for three fonts, and an advertising script that appeared to be included accidentally). The page took 11 minutes to load on her EDGE connection. She consumed 22 MB of her 50 MB bundle just opening the login page.
Creating an account required an email verification. She entered her email (a Gmail address she had created at a university internet café two years prior). The verification email did not arrive for 9 minutes. When it arrived, clicking the link opened a new browser tab (her phone's browser had limited RAM; the original tab was evicted from memory and she had to log in again). She consumed another 18 MB.
Filling out the application form was a battle. The form used a JavaScript-driven multi-step wizard that validated each field on every keystroke. On her 1.3 GHz processor, each keystroke registered with a 1–2 second delay because a form-analytics script was sending every keystroke back to a server in Germany. After entering her national ID number, the form attempted to call an external identity verification API which was blocked by her network's firewall (it was hosted on a cloud provider with routing issues from Zimbabwe). The form showed a generic "verification failed" error with no option to proceed.
She retried seven times. Each retry reloaded 1.2 MB of form JavaScript. She consumed her remaining 10 MB of data. The data bundle ran out. She did not have money for another bundle until her mother came home from her market stall with cash at 5 PM.
By the time she bought more data and reloaded the portal, it was 5:17 PM. The application window had closed.
Chipo did not get the job. She did not know anyone at the parastatal to appeal to. She spent the following week making photocopies of her CV and hand-delivering them to local businesses in Gweru. One of them hired her as a bookkeeper three months later. She still has not used that government portal again.
The portal was built by a software company in Harare. They tested it on LTE in their office. The page loaded in 2.8 seconds. Their analytics dashboard showed an average load time of 4.1 seconds (all measurements were from Harare and Bulawayo users on fiber/LTE; they had no data from rural or EDGE users because those users never reached the analytics script). They were unaware that the application failure rate on EDGE connections was 94%. The identity verification API issue was never noticed because Harare users were on networks that did not block the cloud provider.
I am not naming the parastatal or the software company, because this story is not about one bad site. It is the normal state of government portals, job application sites, university application systems, e-health platforms, and banking sites across Africa and the global periphery. Chipo's experience is not an edge case; it is the default experience for millions of educated, motivated young people for whom an online application should be an opportunity, not an obstacle.
The portal could have been built as a 60 KB static HTML form. It could have validated server-side. It could have skipped the analytics. It could have loaded in under 10 seconds on EDGE. Chipo could have applied in five minutes.
I propose a concrete, aggressive budget for peripheral-first web pages: 100 KB total page weight for critical content, rendering to a usable state in under 5 seconds on a 2G connection.
This is not a joke, not a provocation, and not a theoretical constraint. It is achievable. Text-only content (news articles, reference material, forms, educational material, government services, health information, marketplaces, utility applications) can all deliver their core content well within 100 KB.
What fits in 100 KB: - A complete HTML document with semantic markup: 10–20 KB. - Inlined critical CSS (enough to style the page for readability): 5–15 KB. - Minimal progressive JavaScript (for interactivity that actually matters): 0–20 KB. - One or two small compressed images (WebP/AVIF, resized to display dimensions): 30–60 KB. - Webfont subset (only the characters actually used, WOFF2 compressed): 10–20 KB. - Total: 60–120 KB.
What does not fit in 100 KB: - Multiple third-party analytics scripts (typically 100–400 KB total). - A JavaScript framework (React 40 KB gzipped, Vue 35 KB, Angular 80 KB — before you write any application code). - Chat widgets (typically 100–300 KB). - Advertising scripts (often 200–1,000 KB total). - Multiple full-families of web fonts (50–200 KB). - Hero images larger than 60 KB. - A/B testing frameworks, session recorders, heat-mapping tools, error trackers, tag managers.
If this sounds restrictive, it is. It is supposed to be. The constraint forces you to make choices: what actually matters to the user on this page? What is the content they came for? Everything else is optional, deferrable, or unnecessary. The peripheral internet does not reward comprehensiveness. It rewards ruthless minimalism.
The 100 KB budget is for the initial page load — the content that appears on screen when the page first becomes usable. You can load additional content lazily after the user has begun interacting (images below the fold, optional features, cached assets), but the page must be useful at 100 KB. If the user gets nothing but a loading spinner until 2 MB of JavaScript executes, you have failed the budget.
Most website analytics measure "page load time" from a fast urban connection, which tells you almost nothing about peripheral performance. The metrics that matter are:
Time to First Byte (TTFB). Time from starting navigation to receiving the first byte of HTML. On 2G this is dominated by latency and server response time. Target: under 1 second (cache HTML at edge CDNs; do not server-render on slow origin servers).
First Contentful Paint (FCP). Time until text or an image appears on screen. Target: under 3 seconds on a 2G simulation.
Time to Interactive (TTI). Time until the page responds to user input (clicks, typing). A page that shows text but is blocked by a large JavaScript bundle is not interactive. Target: under 5 seconds on 2G.
Total page weight (compressed). Total KB transferred over the network to load the page. Target: under 100 KB for critical content, under 500 KB total including deferred content.
Number of requests. Total HTTP requests made. Every request adds latency from TCP/TLS setup. Target: under 20 for the initial load; under 50 total.
Number of domains. Every additional domain requires DNS lookup and TLS handshake. Target: 1–2 domains (your site + a CDN if you need one; zero third-party domains).
Data cost. Calculate the cost to the user in local currency at prepaid data rates. If loading your page costs more than 0.5% of a day's minimum wage, you are too expensive.
Lighthouse scores are a starting point, not a destination. Lighthouse (in Chrome DevTools) can simulate a slow network and CPU, but it does not perfectly replicate a $15 phone on a real 2G connection with packet loss and jitter. Use it during development, but always verify with real devices on real networks.
The most important measurement you can make is real user monitoring (RUM) from actual users on actual networks — collect TTFB, FCP, TTI, and page weight from real visitors on their real devices, segmented by network type (2G, 3G, 4G, WiFi), device type, and geography. Your aggregate "average" load time is meaningless if your 2G users are waiting 10x longer than your LTE users.
The single largest contributor to page weight on most websites is third-party scripts: analytics (Google Analytics, Hotjar, Mixpanel, Amplitude), advertising (Google Ads, DoubleClick, Taboola), chat widgets (Intercom, Zendesk, Tawk.to), tag managers (Google Tag Manager), A/B testing (Optimizely, VWO), font loaders (Google Fonts), CDN-hosted libraries (jQuery, Bootstrap), and various trackers, pixels, and beacons.
Each third-party script adds: - DNS lookup (1 RTT). - TCP connection (3 RTTs). - TLS handshake (2–3 RTTs). - Download time (proportional to script size). - JavaScript execution time (on the user's CPU). - Risk of failure (if the third party is slow, blocked, or compromised, it can block your page from rendering). - Privacy cost (the script collects user data and sends it to a third party).
On a 2G connection with 1,000 ms RTT, adding a single third-party script from a domain the user has never visited costs 5–10 seconds before the script starts downloading. Adding eight third-party domains (like the e-learning platform Rutendo tried to use) costs 40–80 seconds of setup time before content appears — even before any of the scripts execute.
The peripheral-internet rule for third-party scripts is simple: do not use any by default. Add a third-party script only if: 1. It is essential to the core function of the page (not "nice to have," not "our marketing team wants analytics"). 2. You have measured its total cost (bytes + requests + execution time) and it is within your performance budget. 3. You load it asynchronously after the core content renders (it must not block rendering). 4. You have a fallback if the script fails to load (the page must work without it).
This means no Google Analytics on critical content pages (use simple server-side logs instead). No chat widgets (they are a support channel, not part of the initial page). No advertising on first page load (it destroys the experience). No tag managers (they encourage the inclusion of scripts without engineering review). No session recorders (they are heavy and invasive).
If your marketing or analytics team insists on tracking, show them the data: a 2 MB page on 2G takes 7 minutes to load; 90% of users in that segment abandon before the page renders; the analytics script never even runs because the user is already gone. You cannot measure users you have driven away.
Images are often the largest assets on a page. On peripheral-first pages, they must be:
Correctly sized. Do not serve a 1920×1080 hero image scaled down to 300px on a mobile screen. Serve images at the exact pixel dimensions they will be displayed. Create multiple sizes (thumbnails, small, medium, large) and serve the appropriate size via srcset.
Compressed aggressively. Use modern formats: WebP is 25–35% smaller than JPEG; AVIF is 30–50% smaller than WebP. Use a tool like Squoosh, ImageOptim, or Sharp to find the highest compression level that still looks acceptable. For many images, 30–50% compression is visually indistinguishable.
Lazy loaded. Images below the fold (not visible when the page first loads) should not load until the user scrolls near them. Native lazy loading (loading="lazy") is supported in every modern browser.
Replaced where possible with CSS or text. A coloured box with text is 200 bytes; an image of the same box is 20 KB. Icons can be inline SVG (a few hundred bytes each) instead of icon fonts or PNG sprites. Solid colour backgrounds and gradients use zero image bytes.
Loaded progressively. Use progressive JPEG or interlaced PNG for large images so a low-resolution preview appears quickly and sharpens as data arrives, rather than appearing top-to-bottom slowly.
A single 400 KB hero image on a 100 KB page is the difference between a 5-second load and a 40-second load. Images are the easiest place to cut weight dramatically.
Web fonts are a hidden weight cost. A typical website loads 2–4 font weights (regular, italic, bold, bold-italic) of a font family like Roboto or Open Sans, totalling 200–400 KB — before any content renders. On 2G that adds 30–60 seconds of download time, and if the font fails to load, the browser renders invisible text until it arrives (FOIT — flash of invisible text).
Peripheral-first font strategy:
Use system fonts by default. The default system font on every OS — -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif — renders instantly, looks correct on every device, costs zero bytes, and users are accustomed to reading it.
If you must use a custom font, subset it. Only include the characters actually used on the page (Latin + required accented characters; no Cyrillic, Greek, or other unused glyphs). Tools like glyphhanger or Font Squirrel's subsetter can reduce a 200 KB font to 15–30 KB.
Use WOFF2 format. It is 20–30% smaller than WOFF or TTF.
Use font-display: swap. Show system fonts immediately and swap to the custom font when it loads, avoiding invisible text. Better yet, do not use a custom font at all.
Do not load icon fonts. Icon fonts (FontAwesome and similar) are typically 50–100 KB for a set of icons you use 5% of. Use inline SVG for individual icons (hundreds of bytes each) or no icons at all.
The best font decision for peripheral-first sites is no web font. System fonts are fast, free, familiar, and accessible.
JavaScript is the most expensive resource on the modern web: it has to be downloaded, parsed, compiled, and executed — every time the user loads the page. A JavaScript-driven site that sends 2 MB of JS to the user is not just slow to download; it is slow to run on low-end devices.
The first question for peripheral-first JavaScript: can the page work without JavaScript? If your page is content (articles, forms, reference material, catalogs, listings, documentation), the answer is almost always yes. HTML forms can submit without JS. Server-rendered HTML can display content without JS. Interactions that require JS can be added progressively (see Chapter 12).
If you must use JavaScript: - Use zero-JS by default; add JS as enhancement. - Use vanilla JavaScript or a minimal framework (Preact is 3 KB; SolidJS is 7 KB; Alpine is 7 KB) rather than React (42 KB), Vue (35 KB), or Angular (80 KB). - Split code by route and load only the JS required for the current page. - Defer all non-critical JS (analytics, chat widgets, animations) until after the page is interactive. - Avoid JS for things that HTML and CSS do natively (form validation, navigation, tabs, accordions, styling). - Do not use JS to render content that could be in HTML. Server-rendered HTML appears instantly; client-rendered SPA pages require JS to download and execute before anything appears. - Measure JavaScript execution time on a low-end device (not just download size). Parse/compile/execute time is often larger than download time on $15 phones.
There is a design philosophy called "zero-JS" or "HTML-first" that produces fast, resilient websites. It is not a purist ideology — it is an engineering response to network and device physics. Every byte of JavaScript you remove makes your site faster, cheaper, more accessible, and less fragile.
The defining property of peripheral internet access is disconnection. A user on a 2G connection loses connectivity not occasionally but routinely — when the network drops, when they move between towers, when the battery dies, when data runs out, when there is load-shedding, when they enter a building. Software built for the periphery must assume the user is offline more often than they are online, and that a session can be interrupted at any moment.
Offline-first design principles:
The application must work without a network connection. Core functionality must be available locally. A notes app must let you write notes offline. A marketplace must let you browse cached listings. A form must let you fill in fields and save progress without connectivity. A map must show you the area you have already downloaded.
Queue actions locally when offline. When the user performs an action (submitting a form, sending a message, placing an order, marking a task done), store it locally with a timestamp. Sync when connectivity returns. Show clear status: "queued, will send when online."
Cache aggressively but intelligently. Cache static assets (CSS, JS, images, fonts) on first load using service workers so subsequent visits do not re-download them. Cache previously fetched data (articles, listings, messages) so the user can view them offline. Set appropriate cache invalidation (cache until told otherwise, then update in the background).
Resolve conflicts gracefully. If a user modifies data while offline and the server has changed since their last sync, define a clear conflict-resolution strategy: last-write-wins, manual merge, server-wins for certain fields, or queue for human review. Do not silently lose user data.
Show connectivity status. Tell the user when they are offline and what is happening to their data ("You are offline. Your message will be sent when you reconnect" / "3 changes pending sync").
Optimize sync for when connectivity returns. Do not attempt to sync everything at once the moment the connection comes back (that can overwhelm a flaky connection). Sync critical actions first, in small batches, with exponential backoff on failure. Resume partial downloads rather than restarting them.
Service Workers (in the browser) and local databases (IndexedDB, SQLite) enable offline-first web apps. Native mobile apps have stronger offline capabilities. The point is not which technology you use but that you treat offline as the default state and online as the enhancement.
Progressive enhancement is a design philosophy in which you build a basic functional version of your product using the simplest technology (HTML), then layer on additional capabilities (CSS, JavaScript, features) for devices and connections that can handle them. The core content is always available; enhancements improve the experience but are never required to access the content.
This is the opposite of the common "SPA-first" pattern where JavaScript is required for anything to appear.
Practical progressive enhancement:
<a href>; forms are <form action>; inputs are <input> with proper types. A browser with no JavaScript can navigate and submit. A search engine can crawl. A user on a feature-phone browser can read the text.Progressive enhancement is not about supporting 1990s browsers. It is about ensuring that your site works even when one layer fails: when a script fails to load, when CSS is blocked, when JavaScript crashes on a low-memory device, when a third-party script times out, when the connection drops mid-page. Every failure mode degrades gracefully rather than breaking the page.
The peripheral internet is an environment where layers fail constantly. Progressive enhancement ensures your site is never entirely broken.
Caching is the single most effective performance optimization for peripheral-first sites. A cached asset costs zero network requests and loads from local disk in milliseconds. Cache aggressively, invalidate intelligently.
HTTP caching headers: Set Cache-Control: public, max-age=... for static assets (CSS, JS, images, fonts) with a long lifetime (7–30 days) and a fingerprint in the filename (app.abc123.css) that changes when the content changes. This ensures assets are cached permanently until updated. Set Cache-Control: no-cache (revalidate) for HTML documents that change frequently.
Browser caching. Browsers automatically cache assets based on Cache-Control headers. Use them correctly and users returning to your site will load it in under a second from cache.
CDNs (Content Delivery Networks). A CDN caches your content at edge locations around the world (or at least on the same continent). For African audiences, choose a CDN with African PoPs (Cloudflare, which has points of presence in Johannesburg, Lagos, Nairobi, and Cape Town; KeyCDN; BunnyCDN; or local CDNs). Assets served from a nearby edge reduce latency from 500+ ms to 50–100 ms. Avoid hosting static assets on US/EU servers for African users.
Service worker caching. For repeat visits, a service worker can serve assets directly from a local cache (Cache API) before even making a network request, making second loads effectively instant. This is how you achieve "app-like" performance without building a native app.
Server-side caching. Cache rendered pages, API responses, and database queries on the server (Redis/Memcached) so dynamic content is generated quickly rather than built from scratch on every request. Server TTFB of <100 ms is achievable with proper caching.
If you cache well, a first-time visitor on 2G loads in 5–10 seconds; a repeat visitor loads in under 1 second. That is the difference between a site people use and a site people abandon.
Every byte saved is a byte not downloaded. Use compression at every layer:
<head> early, then stream content as it becomes available. This reduces perceived load time significantly.Not all users have the same connection or device. Adaptive serving means detecting (or letting users choose) a lightweight version of your site and serving it appropriately.
Approaches:
Save-Data header. Browsers on mobile devices often send a Save-Data: on HTTP header when the user has enabled data saver mode (Opera Mini, Chrome Data Saver). When you see this header, serve lighter pages: smaller images, no custom fonts, no non-essential JS, no third-party content.
Network Information API. Modern browsers expose navigator.connection.effectiveType (2g, 3g, 4g) and .saveData. You can use this client-side to adapt (load fewer images, disable video, defer non-critical JS). Be careful: this is an approximation, not a precise measurement.
User choice. Offer a "lite mode" or "low-data mode" toggle prominently on your site. Users know when they are on expensive or slow connections and will choose the light version if you offer it. Once selected, set a cookie and remember the preference.
Client hints. Modern browsers send ECT, RTT, and Downlink HTTP headers indicating network quality. Use these to serve appropriate image sizes and asset bundles.
Browser detection. Avoid user-agent sniffing as a primary strategy (it is fragile and exclusionary), but you can use it as a fallback for very old browsers to serve basic HTML.
The principle: serve the lightest version that meets the user's need. A user on a 2G connection does not need your 400 KB hero image or your analytics suite. Serve them the content they came for, in as few bytes as possible.
For content sites (news, documentation, educational material, catalogs, marketing pages, government information), the fastest architecture is a static site: pre-build HTML pages at deploy time, serve them as static files from a CDN, and use JavaScript only for optional dynamic features.
Static-first sites have enormous performance advantages: - Pages are plain HTML files served from a CDN edge location. TTFB is 10–50 ms. - No server processing time, no database queries on each request, no application server to maintain. - Static files can be cached indefinitely at CDNs, in browsers, and by ISPs. - Hosting is cheap or free (GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3 + CloudFront). - The site can withstand massive traffic without scaling issues (static files are served efficiently by CDNs). - The site works even when your backend server is down.
Dynamic features (comments, search, personalization, payments) can be added via small APIs that are called after the page loads, rather than being embedded in every page render. If an API is slow or fails, the content still renders.
Static-first does not mean no dynamic content. It means the base document is static and fast, and dynamic features enhance it. Compare this to server-rendered dynamic sites (where every request hits a database and generates the page from scratch) or client-rendered SPAs (where an empty HTML shell is served and content is rendered by JS after download). Both are substantially slower than pre-built static content.
For the peripheral internet, static-first should be your default architecture for any site that is primarily delivering content.
When pages are large (even after optimization), stream them rather than sending them all at once:
loading="lazy"); load images when they scroll into view.<head>, styles for above-the-fold content) and deferred (loaded asynchronously for the rest of the page).On slow connections, perceived performance matters as much as total load time. A page that starts showing content in 2 seconds and continues loading feels faster than a page that waits 10 seconds and shows everything at once. Progress indicators ("loading more results..."), skeleton screens, and partial content all help the user understand what is happening rather than staring at a blank screen.
Tinashe was a physics teacher at a secondary school in Chimanimani, in the Eastern Highlands of Zimbabwe, when Cyclone Idai hit in March 2019. The cyclone destroyed roads, bridges, power lines, and cell towers across Chimanimani and Chipinge. Over 300 people died; tens of thousands were displaced. The school lost its roof, its textbooks, and its electricity. For six weeks there was no mobile network coverage; for three months there was no reliable electricity.
Tinashe's response was not to wait for the network to be rebuilt. He had a Raspberry Pi 3 (a $35 computer the size of a credit card), a 1 TB external hard drive, and a small solar panel he had purchased the previous year for a school science project.
With the help of a former student who was studying computer science at the University of Zimbabwe (communicating via SMS when intermittent signal returned), he: 1. Loaded the entire Wikipedia for Schools (a 6 GB offline selection of 6,000 articles curated for students, available for free download from Wikipedia). 2. Loaded the Zimbabwean secondary school curriculum (syllabi, past exam papers, study guides — all of which were publicly available on government websites but impossible to access without internet). 3. Loaded Khan Academy videos for mathematics and science (transcoded to low resolution, 20 GB total). 4. Loaded health information from WHO and the Zimbabwean Ministry of Health (cholera prevention, malaria treatment, maternal health — critical post-cyclone). 5. Installed Kiwix (an offline Wikipedia reader) and Kolibri (an open-source educational platform designed for offline use). 6. Connected the Raspberry Pi to a WiFi router powered by the solar panel, creating a local network that covered the school grounds and the nearby displacement camp.
The result: students and displaced families could connect to "Tinashe's WiFi" from their phones (most people had at least feature phones; some had smartphones), access textbooks, exam papers, videos, and health information — without any internet connection, without any data cost, and without any ongoing electricity supply beyond the small solar panel. The Raspberry Pi consumed 5 watts and ran for 8 hours a day on the solar system.
Over the next three months, while the roads were being cleared and cell towers rebuilt, over 800 students and adults used Tinashe's local server. Students studied for exams using the past papers. Mothers brought sick children and read the cholera and malaria information. Teachers prepared lessons from the curriculum materials. No one paid for data. No one waited for pages to load. No one needed a 4G connection.
Tinashe did not have a fiber connection, a cloud server, a CDN, a devOps team, or a software budget. He had a $35 computer, a solar panel, and open-source software. What he built is, to my mind, the essence of peripheral internet engineering: useful software where the infrastructure does not exist, running on minimal hardware, serving critical content, for free, to people who had nothing else.
As of 2026, Tinashe runs a network of seven such servers in schools across Chimanimani, supported by a small grant from a local education NGO. They sync new educational content once per month when someone from the school travels to Mutare (the nearest town with fiber) and brings back a USB drive with updated materials. The entire network cost under $2,000 to set up. It serves over 3,000 students.
When developers in San Francisco talk about "the cloud" and "edge computing" and "5G" as if they are universal infrastructure, I think of Tinashe in Chimanimani. His "cloud" is a Raspberry Pi under a desk in a school that does not have grid power. His "edge" is a WiFi router powered by a solar panel. His "CDN" is a USB stick on a bus from Mutare. His network works. His students pass their exams. That is the peripheral internet in action.
Developers building for global audiences often assume the web browser is the universal interface. It is not. A significant share of users on the periphery access the internet primarily through:
USSD (Unstructured Supplementary Service Data): the menu-based system you access by dialling codes like *151# on feature phones and smartphones. Works on every GSM phone, no data plan required, zero app to install. USSD is the interface for mobile money across Africa and reaches phones that cannot load web pages.
SMS (Short Message Service): text messages of up to 160 characters, delivered by mobile networks. Works on every phone, does not require a data plan.
WhatsApp / Telegram / Signal: Messaging apps that work over data (or even via SMS in some regions). WhatsApp is the most-used app across Africa, South Asia, and Latin America — many users have WhatsApp installed but no browser habit. Businesses and services use WhatsApp Business API to deliver notifications, customer support, and even commerce interfaces.
Bluetooth / local P2P: Offline file sharing (Xender, SHAREit, AirDrop, Nearby Share) used to share apps, media, and documents between phones without using data. Community mesh networks serve local content without going through the internet.
Missed calls and voice: In regions where data is unaffordable, missed calls are a signaling protocol (one ring = "I've arrived"; two rings = "call me back"). Voice calls remain the primary communication method for many users over 40.
Feature phone apps: Some KaiOS and Java ME apps work on low-end feature phones; the KaiOS app store is widely used in India and parts of Africa.
A peripheral-first strategy considers which channels your users actually use, not which channels are convenient for developers. For many user segments in Africa, USSD and WhatsApp reach more people than your website will.
USSD is the most important channel for the extreme periphery. It is a session-based text protocol where: - The user dials a short code (e.g. *200#). - The network routes the session to your USSD gateway/application. - Your application responds with a menu (text up to 182 characters per screen). - The user types a response (a number, text, or account input). - The session continues through a menu tree until the task completes or times out (USSD sessions typically time out after 20–30 seconds of inactivity; this is a hard constraint).
USSD advantages: - Works on every GSM phone (back to the 1990s Nokia). - Does not require a data plan (billed per session, or sometimes free). - Does not require a smartphone. - Works on 2G without a data connection. - USSD sessions can be secured with network-level authentication (the network knows the MSISDN/phone number).
USSD disadvantages: - Text only, 182 characters per screen (or 160 depending on network). - Menu trees are slow to navigate if deep; aim for maximum 3–4 levels. - Sessions time out after 20–30 seconds of inactivity. - No images, no links, no rich media. - Development is more complex (you need a USSD short code from each mobile network operator, or use an aggregator like Africa's Talking, Clickatell, or Infobip). - Costs vary: $0.01–$0.05 per session depending on country and operator.
When to build USSD: - When a significant share of your users have feature phones. - When the task is simple, structured, and transactional (check balance, pay bill, buy airtime, register for a service, check exam results). - When users may not have data connectivity. - When you need universal reach.
When not to build USSD: - When the task requires rich content (images, video, long text). - When users are primarily on smartphones (a web app or WhatsApp bot may be cheaper and better). - When the menu tree would exceed 4–5 levels.
USSD best practices: - Keep menus short (under 120 characters ideally). - Number options clearly. - Allow users to go back (e.g. "0. Back"). - Keep session flow under 2–3 minutes. - Always confirm before destructive actions ("Confirm payment of $10? 1.Confirm 2.Cancel"). - Log every step for debugging (USSD users will say "the system is broken" without specifics; logs let you see exactly where they got stuck). - Provide a fallback (a phone number for voice help) for users who cannot complete the flow.
SMS is asynchronous (unlike USSD sessions, which are live). It is used for: - Notifications and alerts: delivery confirmations, appointment reminders, payment receipts, balance updates, OTP codes. - Inbound keyword services: users send a keyword to a short code (e.g. "BALANCE" to 200) and receive an automated response. - Two-way workflows: slower but structured conversations (e.g. answer a question, wait for response, send next question).
SMS is less interactive than USSD (the user reads and replies, one message at a time) but more persistent — messages are stored until delivered, even if the phone is off. It is also more expensive per interaction than USSD in many countries ($0.01–$0.05 per message), so budget accordingly.
Best practices for SMS: - Keep messages under 160 characters (one SMS segment); longer messages are split into multiple segments and cost more. - Start with the purpose ("Your EcoCash account received $50.00 from..."). - Do not send unsolicited SMS (it is expensive, often illegal, and erodes trust). - Include opt-out instructions where relevant. - Test delivery rates: SMS delivery is not 100% reliable across networks; expect 85–98% delivery depending on country and operator.
WhatsApp is the dominant messaging app across Africa, South Asia, and Latin America (over 2 billion users). For many smartphone users, WhatsApp is the internet — they use it for messaging, calls, group communication, business inquiries, and content sharing more than they use a web browser. A WhatsApp Business integration can be more effective than a website for certain use cases.
WhatsApp Business Platform (API) allows: - Outbound notifications (order confirmations, delivery alerts, appointment reminders, payment receipts). - Two-way customer support (agents or chatbots). - Interactive messages with buttons and list menus (richer than SMS/USSD). - Media messages (images, documents, audio). - Catalog-based commerce (products in a WhatsApp catalog, shopping cart within the chat). - Automated flows (e.g. select option, enter details, confirm).
Advantages over web/SMS/USSD: - Rich media (images, PDFs, voice notes). - Familiar interface (users know how to use WhatsApp). - High open rates (WhatsApp messages are opened >95% of the time, compared to email ~20%). - Works on data or WiFi (costs minimal data — a text message is a few bytes). - Supports long-form content within chats (up to 4,096 characters in a message, media up to 100 MB). - End-to-end encrypted by default.
Disadvantages: - Requires a smartphone with WhatsApp installed (does not help feature-phone users). - Requires a data connection (even if small). - More expensive than USSD/SMS per conversation (WhatsApp charges per conversation in 24-hour windows, typically $0.01–$0.05 per conversation depending on volume and country). - You must use an approved Business Service Provider (BSP) or Meta's WhatsApp Cloud API; you cannot send WhatsApp messages programmatically without their API. - Subject to WhatsApp's business policies (they can ban accounts for spam).
When to use WhatsApp: - Customer support and inquiries. - Post-purchase communications (receipts, delivery updates). - Appointment reminders and booking. - Catalog browsing and simple commerce. - Sending documents, images, or forms that cannot be delivered via USSD/SMS.
When WhatsApp does not replace your website: - Discovery (users must already know your WhatsApp number or find it on your site). - Complex transactions (filling out long forms is tedious in chat; web is better). - High-volume browsing (scrolling through a product catalog on a website is faster than in a chat). - Anonymous or public information access (WhatsApp requires a phone number; the web is anonymous).
The common pattern for peripheral-first businesses is: USSD/SMS for universal reach + WhatsApp for smartphone users + lightweight web for content/discovery + native app only if it provides significant value beyond these.
In areas with no internet connectivity at all (rural villages, conflict zones, informal settlements, disaster response), software can still work through local mesh networks and offline peer-to-peer sharing:
These patterns are relevant for the most extreme periphery. They are not replacements for the internet but extensions of it — ensuring that useful software works even when there is no connectivity at all.
Native Android apps are sometimes necessary, but they come with significant costs for peripheral users: - APK size is paid in data (a 50 MB app costs $0.50–$1.50 in data to download — a meaningful expense). - App updates require more data. - Storage on low-end phones is limited (a 50 MB app uses a significant fraction of available space). - App store access requires a Google account (not universal) and a reliable connection. - Discovery and distribution are harder than the web (users must find and install the app).
Build a native app only if: - The app needs hardware access (camera for scanning, GPS for navigation, Bluetooth for device communication). - The app is used daily (the download cost is amortized over many uses). - You can keep the APK under 10 MB (use Android App Bundles, split APKs, remove unused libraries, optimize images). - The app works completely offline after install. - Push notifications are essential (WhatsApp is installed for a reason; push is not available reliably on mobile web). - Web/USSD/WhatsApp cannot provide the core functionality.
For many use cases (content, commerce, forms, services), a well-optimized progressive web app (PWA) is better than a native app for peripheral users: it works in the browser without installation, can be saved to the home screen with one tap, works offline with a service worker, and costs a few hundred KB to access rather than tens of megabytes.
If you are building software for the periphery, you must own and regularly test on a $15 phone. No amount of Lighthouse testing, throttling in DevTools, or emulation replaces holding an actual device on an actual 2G connection.
What to do: 1. Buy the cheapest available Android phone in your market (Itel, Tecno, Infinix, Nokia low-end, Samsung A0-core). Cost: $15–$35. 2. Buy the cheapest prepaid SIM on the network with the worst coverage in your target market. 3. Disable WiFi. Force the phone to 2G only (in network settings). 4. Load your website. Time how long it takes to become usable. 5. Try to complete a core user task (register, search, buy, read an article). 6. Note every moment of frustration: taps that don't respond, forms that are hard to fill, pages that crash, buttons too small for fingers, text too small to read. 7. Test with a full data budget (10 MB) — how many pages can you load before running out? 8. Test with battery at 20% and a battery saver on.
This test is the peripheral internet equivalent of "dogfooding." Until you have waited seven minutes for your own page to load on a device you are holding in your hand, you will not make the hard trade-offs required. You will believe your 200 KB analytics script is "necessary" until you watch it add 45 seconds to the load time on your test phone. You will keep the hero image until you see it consume 2 MB of your 10 MB test data budget in one page load.
The $15 phone is the most important development tool for peripheral-first software. It should sit on your desk beside your laptop. You should test on it weekly.
While nothing replaces real device testing on real networks, development-time throttling is essential for catching performance regressions before they reach users.
Tools: - Chrome DevTools Network Throttling: Simulate Slow 3G, Fast 3G, or custom profiles (e.g. 2G: 50 Kbps, 1500 ms RTT, 5% packet loss). Keep throttling enabled during development; if you only test on fast connections, you will accidentally introduce slow patterns. - Chrome DevTools CPU Throttling: Simulate 4x or 6x slowdown (approximating a low-end CPU). JavaScript that parses in 200 ms on your MacBook may take 1–2 seconds on a $15 phone. - WebPageTest (webpagetest.org): Free web performance testing tool that can test from multiple locations (including African locations: Cairo, Cape Town, Johannesburg, Lagos, Nairobi) with real mobile devices. Provides filmstrip views of page loading, waterfall diagrams, and detailed metrics. - Lighthouse (in Chrome DevTools): Automated performance audit; gives scores for Performance, Accessibility, Best Practices, SEO, and PWA. Run it on every page; aim for 90+ Performance score. Treat it as a minimum bar, not a certification. - Firefox Responsive Design Mode: Similar to Chrome, with network throttling and touch simulation.
Do not trust throttling alone. Packet loss, jitter, DNS timeouts, connection drops, and cell tower handoffs cannot be accurately simulated. Real-device testing catches issues that emulation misses.
Synthetic testing (Lighthouse, WebPageTest) tells you how your site should perform. Real user monitoring (RUM) tells you how it actually performs for your users.
Collect these metrics from every visitor (using a small inline JS snippet or server-side logging): - TTFB, FCP, TTI (using the Performance API / Web Vitals). - Total page weight (resource sizes from PerformanceObserver). - Effective connection type (navigator.connection.effectiveType). - Device memory and CPU (navigator.deviceMemory, navigator.hardwareConcurrency). - User-agent and screen size. - Geography and network (from IP geolocation — approximate, but useful for broad segmentation). - Whether the page loaded successfully (vs user abandoning mid-load).
Segment your metrics by connection type and geography. Do not look at averages. Look at: - Median FCP on 2G (should be <3 seconds). - 95th percentile FCP on 2G (if this is >15 seconds, you have a serious problem for many users). - Abandonment rate by connection type (how many users leave before the page becomes interactive). - JS error rates on low-end devices vs high-end devices. - Data cost per page load for your 2G users.
RUM will show you what synthetic tests cannot: the experience of a user on a congested cell tower at peak hour, on a $15 phone, running your site alongside WhatsApp and Facebook with 400 MB of free RAM. If you only test from your office on LTE, you will never see these users' reality.
Accessibility (designing for users with disabilities) and peripheral-first performance are deeply aligned. Many accessibility requirements also improve performance for all users on slow connections:
Building accessibly is not an extra step for peripheral-first software — it is the same set of practices. The simpler, cleaner, more semantic, more text-based your site is, the more accessible it is to everyone, including users with disabilities and users on the periphery.
The Web Content Accessibility Guidelines (WCAG 2.1 AA) are a good baseline. Follow them. Many of the rules (contrast ratios, semantic markup, alt text, keyboard access, form labels) are also peripheral-first best practices.
A peripheral-first build pipeline automates the optimization of every asset:
<head>) from non-critical (load asynchronously).<picture> element.font-display: swap.Tools like Vite, webpack, Rollup, Parcel, and esbuild can automate most of this. Static site generators (Hugo, Eleventy, Astro, Next.js static export, SvelteKit static adapter) produce optimized HTML by default. The goal is that every asset leaving your build process is as small as it can possibly be without losing functionality.
The final and most important step is testing your software with actual users on actual networks in the places you are building for.
Practices: - Recruit beta testers from your target market. Give them a small amount of airtime/data as compensation (this is critical — they are paying to test your product with their data budget). - Do not only test in cities. Test in rural areas with the worst connectivity. Travel to Buhera, to Turkana, to rural Uttar Pradesh, to villages outside Kumasi — the places your users actually are. - Watch users use your product. Do not demo it for them. Hand them the phone and ask them to complete a task. Say nothing. Watch where they get confused, where they tap the wrong thing, where they wait, where they give up. - Measure data usage on their devices. Use Android's data usage monitor to see exactly how much data your site/app consumes per session. - Ask about cost. "How much did that cost you?" is a question you should ask every tester. Users on prepaid data know exactly how many megabytes they have and how much they have spent. - Test on multiple networks. In most African countries there are 2–3 mobile networks (e.g. Econet, NetOne, Telecel in Zimbabwe; Safaricom, Airtel, Telkom in Kenya; MTN, Airtel, Glo in Nigeria). Performance varies significantly between them. - Test at peak times. Networks are much slower at 7–9 PM when everyone is online, than at 10 AM. - Test after data runs out. What happens when a user's data bundle expires mid-session? Does your app handle it gracefully?
You will learn more from one hour watching a rural user try to use your product on their own phone on their own network than from a month of synthetic testing. The $15 phone on your desk is a proxy, but there is no substitute for real users in real conditions.
Takunda was a full-stack developer at a Zimbabwean government digital services team in 2024. His team was responsible for the national exam results portal — the website where O-Level and A-Level students across the country checked their results when they were released each year.
The existing portal, built by an external vendor, had a landing page of 2.7 MB. On results day, when 300,000 students tried to check their results simultaneously, the site crashed for 6–8 hours every year. The vendor's solution each year was to add more servers. In 2023, they were running on 40 cloud servers in a South African data centre at a cost of $18,000 per year, and the site still crashed.
Takunda convinced his team to rebuild the portal from scratch with a peripheral-first approach over three months: - Static HTML pages served from a local server in Harare (with Cloudflare CDN for caching globally). - A 12 KB landing page (HTML + inline CSS + zero JavaScript). - Server-side rendering of results (students entered their exam number; the server returned a plain HTML page with their results — no client-side framework, no AJAX, no JSON API). - 80 KB total page weight including the results page. - Simple rate limiting and queue system for the results database (one SQLite database handled 5,000 queries per second on a single $40/month virtual server). - A USSD fallback (1512024#) for feature phone users to check results without any data.
When results were released in February 2025: - The page loaded in 4 seconds on 2G, 1 second on 3G, and under 200 ms on fiber. - The site did not crash at all. It handled 320,000 visitors in the first two hours on two $40/month servers (total infrastructure cost $80/month, a 97% reduction from the previous $18,000/year). - 44% of visitors accessed the site from 2G/EDGE connections (a segment that had previously been invisible because the old site never loaded for them). - USSD received 112,000 sessions in the first six hours (from feature phone users who could not access the web at all). - Total visits in the first 24 hours: 512,000 unique users. The previous year's portal recorded 36,000 visits in 24 hours before crashing. - The difference: a 14x increase in actual users served.
The most striking statistic was not the infrastructure cost saving or the speed improvement. It was the geographic distribution. The old portal's analytics showed 92% of traffic from Harare and Bulawayo (the two largest cities, where fiber was available). The new portal showed 47% of traffic from rural areas — Manicaland, Masvingo, Midlands, Mashonaland East and West, Matabeleland North and South. Students in rural areas who had never been able to check their results online (they had to travel to their school or a relative in town to see printed results) could now check from their phones at home.
Takunda's 80 KB page did not just perform better — it reached people the previous portal had excluded entirely. The 14x multiplier was not a nice side effect. It was the point. For 300,000 students writing their national exams, the ability to check their results quickly from their own phone, on their own network, without travelling, without spending $2 in data, without waiting 8 hours for a crashed server, is not a UX refinement. It is access to a public service that was nominally theirs.
The portal is now used as a case study in the Ministry of Digital Transformation. Takunda now leads a 12-person team rebuilding the rest of the government's public services — birth certificates, passport applications, tax filing, school registration — using the same peripheral-first approach.
The peripheral internet is slow for reasons that are not purely technical. They are economic, political, historical, and infrastructural.
Backhaul and international bandwidth. Most African countries connect to the global internet through submarine cables landing on the coast. Landlocked countries (Zimbabwe, Zambia, Uganda, Rwanda, Burkina Faso, Mali, Niger, Chad, Ethiopia, South Sudan, Central African Republic, Botswana, Lesotho, Eswatini, Malawi, Burundi) depend on fibre transit through neighbouring countries, adding latency and cost. International bandwidth is expensive in Africa (though it has dropped dramatically as new submarine cables have landed — 2Africa, Equiano, PEACE, METISS, and others are increasing capacity and reducing cost).
Last-mile infrastructure. The last mile — from cell tower to user — is wireless (mobile networks) for the vast majority of users. Fibre to the home exists in wealthy neighbourhoods of major cities but reaches less than 5% of the population in most African countries. Mobile networks are shared infrastructure: when many users in an area are active, everyone gets slower speeds.
Tower density and spectrum allocation. Mobile data speeds depend on having enough cell towers close enough together, and on the network having access to enough radio spectrum to carry traffic. Both are expensive. Spectrum auctions are often priced beyond what smaller operators can pay; incumbents hoard spectrum; rural towers are uneconomical to build because revenue per user is too low. Universal access funds exist in many countries but are poorly managed.
Operator economics. Mobile network operators in low-income countries have ARPU (average revenue per user) of $2–$5 per month, compared to $30–$60 in the US/EU. They cannot afford to build dense networks in rural areas because revenue does not justify the capital expenditure. This means rural users get 2G coverage at best, and cell towers are powered by diesel generators (which are expensive to run and fail when fuel is unavailable).
Power. Cell towers and data centres require reliable electricity. In countries with frequent power cuts (Zimbabwe has 8–16 hours of load-shedding per day in some seasons), cell towers rely on batteries and diesel generators, which are expensive to operate and sometimes fail. When a tower loses power, coverage in that area goes dark.
Device cost. Smartphones are getting cheaper (good Android phones now exist at $30–$50) but remain a significant expense for many households. A $50 phone is 5–10% of annual per-capita income in the poorest countries. Cheaper phones are less capable (less RAM, slower processors, smaller screens, older Android versions), which compounds the performance problem.
Content location. Most internet content (websites, apps, CDN origin servers, cloud services) is hosted in North America or Western Europe. Every request from an African user must travel 5,000–10,000 km to reach a server and come back, adding 200–500 ms of latency even on fast connections. CDN PoPs in Africa help, but not all sites use them.
None of these problems will be solved by waiting for fiber. Fiber rollout is slow, expensive, and concentrates in profitable urban areas. The peripheral internet will exist for decades. Software must be built to work within these constraints, not in spite of them.
Zero-rating is the practice of mobile operators exempting specific apps or services from data charges (e.g. "WhatsApp is free on our network," "Facebook Free Basics," "Wikipedia Zero"). When a service is zero-rated, using it does not consume the user's data bundle — it is "free" to use.
Arguments for zero-rating: - It allows users who cannot afford data to access essential services (health information, education, job listings, government services) for free. - It increases digital inclusion by lowering the barrier to first internet use. - It has been effective in bringing first-time users online (Facebook Free Basics brought millions online in India and Africa before being banned in India).
Arguments against zero-rating: - It creates walled gardens where users only use zero-rated services (typically big platforms like Facebook, WhatsApp, Google) and never discover the open web. - It violates network neutrality by giving preferential treatment to large platforms that can negotiate zero-rating deals, making it impossible for startups and local services to compete (a local education startup cannot afford to pay operators for zero-rating; Facebook can). - It consolidates power in a few global platforms and undermines the open web. - The "free" services are often stripped-down versions (Facebook Free Basics provided text-only access to a limited set of sites, not the full internet).
This is a difficult trade-off with no universally accepted answer. The position I take in this book is: 1. Zero-rating for essential public services (health, education, government information) is good and should be pursued — but these services should be open web content (not locked into Facebook or a proprietary app), so users are exposed to the open web from their first experience. 2. Zero-rating for commercial platforms is anti-competitive when it gives incumbents an unassailable advantage over local services. 3. Building lightweight, data-efficient websites makes zero-rating less critical — if a page costs $0.0001 to load (0.01 MB at $0.01/MB), the cost barrier is negligible for almost all users.
Peripheral-first software reduces the relevance of the zero-rating debate by making the open web affordable to use. A 100 KB page costs $0.001–0.003 in data — less than a penny. At that price, the open web is already effectively zero-rated for anyone with even a small data bundle.
Low Earth Orbit (LEO) satellite internet (Starlink, OneWeb, Amazon Kuiper, and others) is often presented as the technology that will "solve" rural connectivity by beaming internet from space to anywhere on earth. This is partially true and partially hype.
What LEO satellite does well: - Provides connectivity in places with no terrestrial infrastructure (rural areas, conflict zones, ships, aircraft, remote mining sites, isolated communities). - Provides moderate speeds (50–200 Mbps for Starlink residential) with latency of 30–60 ms (much better than geostationary satellites which have 600+ ms latency). - Is being deployed rapidly (Starlink is available in 70+ countries including many African nations as of 2026).
What LEO satellite does not solve: - Cost. Starlink terminal hardware costs $300–$600; monthly service is $50–$150 depending on country. This is out of reach for the vast majority of rural users (monthly ARPU in many African countries is $2–$5). It is suitable for schools, clinics, businesses, and wealthy households — not for individual low-income users. - Power. Starlink terminals consume 50–75 watts, which is significant for off-grid solar systems. A user without grid power would need a substantial solar and battery setup to run the terminal continuously. - Device and data costs. Even if satellite internet reaches a village, users still need smartphones and data plans — the last mile from the satellite receiver to the user remains WiFi or mobile, with its own costs. - Censorship and sovereignty. Satellite internet crosses borders and can bypass national internet shutdowns — governments can (and have) banned Starlink for this reason.
LEO satellite will improve connectivity for institutions, businesses, and wealthy users in rural areas over the next decade. It will not, by itself, bring affordable internet to every individual on the periphery. It is one tool in the toolkit, not a replacement for terrestrial mobile networks, community WiFi, or data-frugal software.
Peripheral-first software remains essential: even when satellite internet is available, it will be metered (data caps of 100 GB–1 TB per month) and shared among many users at institutions. Data-frugal websites are cheaper to serve over satellite just as they are over 2G.
Community networks are locally owned, locally operated communication infrastructure built and maintained by the community itself, rather than by a commercial operator. They are one of the most promising models for extending connectivity to underserved areas.
Examples: - Zenzeleni Networks (South Africa): community-owned WiFi networks in rural Eastern Cape, providing affordable voice and data to villages that commercial operators ignored. - Guifi.net (Catalonia, Spain): the largest community mesh network in the world, with over 37,000 nodes, built over 20 years by volunteers. - NYC Mesh (New York City): a volunteer-run mesh network providing independent internet access in New York. - AlterMundi (Argentina): community networks in rural Argentina, using open-source hardware and software. - TunapandaNET (Kibera, Nairobi): community network in one of Africa's largest informal settlements, providing low-cost internet and educational content to residents.
Community networks use: - WiFi mesh equipment (affordable routers, $30–$100 per node). - Licensed-exempt spectrum (WiFi frequencies that don't require expensive licenses). - Local servers hosting cached content (Wikipedia, educational materials, local services) that doesn't need to travel over expensive backhaul. - Shared backhaul (a single fibre or VSAT connection shared across a community). - Community governance (the network is owned and governed by those who use it).
These networks are not theoretical. They exist, they work, and they serve millions of users who would otherwise have no connectivity or only expensive 2G. Building software that works well on community networks — software that is lightweight, that caches locally, that works offline, that supports local content distribution — is a critical part of the peripheral-internet ecosystem.
The open web is under threat globally from two directions: 1. Native app duopoly (Apple App Store, Google Play Store) that forces developers to build native apps, pay 30% commissions, and abide by platform rules that favour large incumbents. 2. Platform walled gardens (Facebook/Meta, Google, WeChat, WhatsApp) where users spend their time within closed platforms rather than on the open web.
On the periphery, these dynamics are more acute because: - Native apps are expensive to download (data costs) and update. - Platforms are zero-rated while the open web is not (giving platforms an anti-competitive advantage). - Many users' first internet experience is on Facebook or WhatsApp, not on a web browser — they never learn to use URLs or search. - The open web's addressability (any link works from anywhere) is one of its greatest strengths, but that link must be cheap to open — which is exactly what peripheral-first design makes possible.
Building lightweight, fast, data-efficient websites is a political as well as technical position. It asserts that the open web is a viable, even superior, experience for users on constrained networks. A 100 KB web page that loads in 3 seconds on 2G is a stronger argument for the open web than any manifesto.
The web is the only open, universal, permissionless application platform in existence. You do not need anyone's approval to publish a web page, pay any gatekeeper to reach users, or build for any specific device. Preserving that — by building web content that actually works for everyone — is one of the most important things developers can do for the global internet.
I write this from Harare, where the internet goes out during load-shedding, where LTE drops to EDGE in the rain, where data costs real money, where the $15 phone on my desk runs slowly but runs everything that matters. I write this as someone who has been on both sides of the fiber divide — who has used fiber connections in San Francisco that load a page in 200 ms and 2G connections in Buhera that take seven minutes.
The lesson of the peripheral internet is not "build for poor people" or "optimize for Africa" or "make a lite version." It is simpler than that: good software respects the user's resources. It treats their time as valuable, their data plan as finite, their battery as precious, their device as capable within its limits, and their attention as something to be earned, not exploited.
These are not regional virtues. They are universal virtues. Software built for the periphery is better software for everyone: faster on fiber, cheaper on metered connections, more reliable on unstable networks, more accessible to people with disabilities, more legible on small screens, more resilient when a third-party script fails, more maintainable because it has fewer dependencies.
The web was designed to be universal. Tim Berners-Lee did not build it for a privileged class of users on fast networks; he built it for everyone, on any device, over any connection. For a generation, the web industry forgot that. We built bloated, heavy, fragile software that only works well for users like us — developers in offices on fast networks with expensive phones.
We can build differently. We can build a web that Rutendo in Buhera can use, that a shopkeeper in Kisumu can afford, that a farmer in Murehwa can load on a feature phone via USSD, that a student in Lima can open on a $50 phone, that a grandmother in rural Mississippi can use on her old tablet. We already have all the technology. HTML works. CSS works. HTTP caching works. Compression works. Progressive enhancement works. CDNs with African PoPs exist. WebP and WOFF2 exist. Service workers exist. None of this is science fiction. It is engineering.
It requires choices. It requires saying no to the analytics script. It requires compressing the hero image. It requires putting content before JavaScript. It requires testing on the $15 phone. It requires leaving things out. It requires accepting that a page does not need to do everything; it needs to do the important thing, and do it quickly, cheaply, and reliably.
The peripheral internet is not the future. It is the present. It is the majority of the internet, today. Build for it.
The following ten exercises progress from measuring your current site's weight to building a complete offline-first peripheral-first service. You can do them in order or pick the ones relevant to your work. Each should take between one hour and one day.
Pick a page on your current site or a site you work on. Open Chrome DevTools, go to the Network tab, check "Disable cache", and reload the page. Note: - Total KB transferred (bottom-right of Network panel). - Number of requests. - Number of third-party domains (any domain that is not your primary domain or CDN). - Size of JavaScript transferred vs size of HTML vs CSS vs images. - Time to load on a Fast 3G throttle setting (set in Network throttling dropdown). - Time to load on a Slow 3G throttle.
Now calculate the data cost for a user on a typical prepaid plan in your target market (if you don't know, use $0.02 per MB as a rough estimate). Multiply by the number of monthly visitors. Calculate: total dollars your site costs your users in data per month.
Write these numbers down. This is your baseline. Everything else in this book is about reducing these numbers.
Make a list of every third-party script, pixel, font, widget, tracker, and analytics tag on your homepage. For each, write down: - What does it do? - How many KB does it add? - How many HTTP requests? - Is it on the critical rendering path (does it block content from appearing)? - What is the business justification? - If you removed it, who would notice?
Be ruthless. Most sites have 5–20 third-party scripts, of which 2–3 actually matter. Categorize each as: - Essential (cannot run the service without it — typically payment processing, core functionality). - Useful (genuinely improves the product — error logging, maybe one analytics tool). - Nice to have (chat widget, heatmap, session recorder, A/B testing). - Legacy (added by someone who left, or for a campaign that ended, or by marketing without engineering review). - Invisible (tags added by tag manager that no one remembers adding).
Remove all "legacy" and "invisible" tags immediately. Defer all "nice to have" tags to after the page is interactive. Measure the improvement in page weight and load time.
Write down a performance budget for your site. A good starting budget for peripheral-first content pages:
| Metric | Budget |
|---|---|
| Total page weight (critical, initial load) | < 100 KB |
| Total page weight (all content after lazy load) | < 500 KB |
| JavaScript total (gzipped) | < 50 KB (ideally < 20 KB for content pages) |
| CSS total (gzipped) | < 20 KB |
| Web fonts | 0 KB (system fonts) or < 20 KB (subset WOFF2) |
| Images above the fold | < 60 KB (compressed, properly sized, WebP/AVIF) |
| Number of HTTP requests (initial load) | < 20 |
| Number of third-party domains | < 2 |
| Time to First Byte | < 500 ms |
| First Contentful Paint (2G simulation) | < 5 seconds |
| Time to Interactive (2G simulation) | < 8 seconds |
Write this budget into your CI/CD pipeline. If a pull request exceeds the budget, it fails. This makes performance a non-negotiable engineering constraint rather than an afterthought.
Take your worst-performing page (usually the homepage) and optimize it: 1. Remove all non-essential third-party scripts. 2. Replace web fonts with system fonts (or subset and use font-display: swap). 3. Replace large images with properly sized, compressed WebP/AVIF versions; add native lazy loading for below-the-fold images. 4. Minify and inline critical CSS; defer non-critical CSS. 5. Replace JavaScript interactions with HTML/CSS where possible (form validation can be HTML5; tabs can be CSS; simple interactivity can be vanilla JS). 6. Enable Brotli/gzip compression on the server. 7. Set proper Cache-Control headers with fingerprinted asset filenames. 8. Add a service worker for offline caching (Workbox makes this straightforward). 9. Test the optimized page on Slow 3G throttling and on a $15 phone if you have one. 10. Measure: weight, requests, FCP, TTI.
Record the before/after. The first page you optimize will teach you more about performance than reading ten books.
Go to the nearest phone shop or market that sells the cheapest Android phones. Buy the cheapest one available (Itel, Tecno, Infinix — do not buy a refurbished iPhone or a nice Samsung; buy the phone that your users on tight budgets buy). Cost: $15–$35.
Set it up with the cheapest prepaid SIM on the network with the worst coverage. Bookmark your site. Use it for a day. Try to complete a core user journey on your product using only this phone on a mobile connection (no WiFi). Note every friction point.
Keep this phone on your desk. Test your product on it before every release.
If your product involves any transactional user interaction (checking a balance, booking an appointment, registering for something, making an order), build a USSD minimum viable product:
You do not need to replace your web interface. Offer USSD as an alternative for users who need it. The process of building a USSD interface will teach you to think about minimal viable flows — if a task can be done in three USSD menus, it does not need a 2 MB JavaScript form.
Add basic RUM to your site without adding a heavy analytics script. You can collect core web vitals in 1–2 KB of inline JavaScript:
// Minimal RUM snippet (sends to your server endpoint)
(function(){
function send(metrics) {
navigator.sendBeacon('/rum', JSON.stringify(metrics));
}
window.addEventListener('load', function(){
var nav = performance.getEntriesByType('navigation')[0];
var resources = performance.getEntriesByType('resource');
var totalKB = resources.reduce(function(s, r){ return s + (r.transferSize || 0); }, 0) / 1024;
setTimeout(function(){
send({
ttfb: nav.responseStart - nav.requestStart,
fcp: performance.getEntriesByName('first-contentful-paint')[0]?.startTime,
totalKB: Math.round(totalKB),
requests: resources.length,
dom: performance.timing.domContentLoadedEventEnd - performance.timing.navigationStart,
ect: navigator.connection?.effectiveType,
path: location.pathname
});
}, 0);
});
})();
Segment the data by effective connection type (2g/3g/4g). Look at the medians and 95th percentiles for your 2G users. If the numbers are bad, that is where you focus optimization work.
Take one form in your product (contact form, feedback form, order form, profile update) and make it work offline: 1. Intercept form submissions with JavaScript. 2. When the user submits and the network is available, submit normally. 3. When offline, store the submission in IndexedDB (or localStorage) with a timestamp. 4. Show a status message: "Saved. Will send when you're online." 5. Add a service worker that caches the form page so it loads when offline. 6. When the user returns to the site and connection is available, sync queued submissions in the background. 7. Handle sync failures (retry with exponential backoff; show an error if a submission cannot be delivered after 5 retries).
The IndexedDB/localStorage pattern can be extended to any data the user creates: notes, messages, orders, drafts, saved items.
If your site has content pages (blog posts, articles, documentation, product descriptions), generate a static version: 1. Use a static site generator (Hugo, Eleventy, Astro, or even a simple script that renders HTML from Markdown). 2. Pre-build every content page as static HTML at deploy time. 3. Deploy to a CDN with edge caching (Cloudflare Pages, Netlify, Vercel, S3 + CloudFront, or a simple Nginx server with Cloudflare in front). 4. Test TTFB (it should be under 100 ms from a nearby edge). 5. Keep dynamic features (search, comments, forms) as separate APIs loaded after the page renders.
Static-first is not always possible for highly dynamic applications, but for content-heavy sites it is the fastest, cheapest, most reliable architecture available.
Recruit three users who match your target market (if you are building for rural users, find rural users; if you are building for low-end device users, find users with $15–$30 phones). Give each a small amount of airtime as compensation ($2–$5 worth; do not ask them to spend their own data testing your product).
Give them one task: "Use this site to [core action]." Do not help them. Do not demonstrate. Watch. Take notes on: - How long it takes to load. - Where they get stuck. - Where they tap the wrong thing. - Where they give up (if they do). - How much data it uses (check their phone's data monitor after they finish). - What they say about the experience afterwards.
After each test, ask: - "How much did that cost you in data?" - "Was it faster or slower than other sites you use?" - "Would you use this regularly?" - "What was the worst part?"
You will learn more from these three user tests than from every analytics dashboard combined. The insights will tell you what to optimize next.
In 2007 I was a university student in Harare with a Nokia 1100 and $1 of airtime per week. I accessed the internet via GPRS at speeds that make 2G seem luxurious. I read email on a WAP browser that could show six lines of text. I downloaded Java applications that were 30 KB in size, because that was what could fit on the phone and download in a reasonable time. I learned to read articles offline using Opera Mini, which compressed pages on a proxy server before sending them to my phone. Every kilobyte mattered. I learned that from experience.
Two decades later I have fiber internet in my home office. My laptop has 32 GB of RAM. My phone has more processing power than the server that hosted my first website. But I still carry that instinct. Every time I open a website that is 5 MB, I feel it in my bones: that is $0.10 of someone's data. That is 30 seconds of someone's time. That is a choice someone made to prioritize their convenience over the user's.
Building for the periphery is not nostalgia for slow internet. It is not a rejection of modern technology or of fast networks. It is an ethic: treat the user's resources as if they are scarce and valuable, because they are — for most people on earth, and in important ways for all of us. A website that loads in 3 seconds on 2G loads instantly on fiber. A website that uses 100 KB respects the user's data plan regardless of how large their plan is. A website that works offline works in a power cut, on a plane, on a train through a tunnel, during a network failure, in a rural village, in a disaster zone.
These virtues are not niche. They are universal. The peripheral internet is not a special case. It is the internet, and we should build for it accordingly.
These tools are recommended for peripheral-first web development. None of them are mandatory. All of them are free or inexpensive.
Performance measurement - Lighthouse (built into Chrome DevTools) — automated performance audits. - WebPageTest (webpagetest.org) — multi-location testing including African PoPs. - Chrome DevTools Network/Performance tabs — development-time throttling and profiling. - Firefox Developer Tools — alternative profiling and network analysis.
Build and optimization - Vite (vitejs.dev) — fast build tool with asset optimization, code splitting, tree shaking. - esbuild (esbuild.github.io) — extremely fast JavaScript/CSS minifier and bundler. - Eleventy (11ty.dev) — simple static site generator, produces minimal HTML. - Astro (astro.build) — static site generator that sends zero JavaScript by default. - Hugo (gohugo.io) — extremely fast static site generator, single binary. - Workbox (developer.chrome.com/docs/workbox) — service worker library for offline caching. - PurgeCSS (purgecss.com) — removes unused CSS rules. - Squoosh (squoosh.app) — browser-based image compression and format conversion. - Sharp (sharp.pixelplumbing.com) — Node.js image processing library for build-time optimization. - glyphhanger (github.com/zachleat/glyphhanger) — font subsetting tool.
CDNs with African points of presence - Cloudflare (cloudflare.com) — free tier available; PoPs in Johannesburg, Lagos, Nairobi, Cape Town, Cairo, Casablanca. - BunnyCDN (bunny.net) — inexpensive; PoPs in Johannesburg and Lagos. - KeyCDN (keycdn.com) — PoPs in Johannesburg. - AWS CloudFront — PoPs in Johannesburg and Nairobi.
USSD/SMS/WhatsApp providers in Africa - Africa's Talking (africastalking.com) — USSD, SMS, voice, payments across Africa. - Clickatell (clickatell.com) — SMS and USSD globally, strong in Africa. - Infobip (infobip.com) — SMS, USSD, WhatsApp, email globally. - Twilio (twilio.com) — SMS, WhatsApp, voice globally. - MessageBird (messagebird.com) — SMS, WhatsApp, voice. - WhatsApp Cloud API (developers.facebook.com/docs/whatsapp) — direct WhatsApp Business access.
Offline-first tools - Kiwix (kiwix.org) — offline Wikipedia and content reader. - Kolibri (learningequality.org/kolibri) — offline educational platform for schools. - Internet-in-a-Box (internet-in-a-box.org) — offline digital library for Raspberry Pi and low-cost devices. - LocalForage (localforage.github.io) — simple IndexedDB/WebSQL/localStorage wrapper. - CouchDB/PouchDB — offline-first database with bi-directional sync.
Community network resources - Internet Society (internetsociety.org) — resources on community networks. - Association for Progressive Communications (apc.org) — support for community networks in developing countries. - Zenzeleni Networks (zenzeleni.net) — South African community network model.
2G / EDGE / GPRS — Second-generation mobile networks (GSM), providing data at 20–200 Kbps effective throughput with high latency (500–2000 ms RTT).
3G / HSPA — Third-generation mobile networks, providing 0.5–3 Mbps effective throughput with 150–500 ms latency.
4G / LTE — Fourth-generation mobile networks, providing 5–50 Mbps effective throughput with 50–150 ms latency in good conditions.
ARPU — Average revenue per user; the monthly revenue a mobile operator earns from an average subscriber. Often $2–$5/month in low-income countries.
Brotli — Modern compression algorithm (RFC 7932), 15–25% more effective than gzip for text assets (HTML, CSS, JS, JSON).
CDN — Content Delivery Network; a distributed network of servers that caches content at edge locations close to users for faster delivery.
Edge PoP — Point of Presence; a location where a CDN or network has servers, allowing content to be served geographically close to users.
FCP (First Contentful Paint) — The time until the first text or image appears on screen after navigation.
FOIT (Flash of Invisible Text) — The period when a browser shows no text because it is waiting for a web font to download.
Gzip — Widely supported compression algorithm for HTTP responses. Less effective than Brotli but supported everywhere.
LCP (Largest Contentful Paint) — The time until the largest above-the-fold element (usually an image or heading) finishes rendering.
LEO satellite — Low Earth Orbit satellite constellations (e.g. Starlink) orbiting 300–1200 km above earth, providing internet with 30–60 ms latency.
Offline-first — A design philosophy where applications work without a network connection by default, syncing when connectivity returns.
PWA (Progressive Web App) — A website that behaves like an app: works offline, can be saved to the home screen, supports push notifications.
PoP — See Edge PoP.
Progressive enhancement — Building a functional HTML base, then layering CSS and JavaScript as enhancements for capable devices/connections.
RTT — Round-trip time; the time for a network request to travel from client to server and back. Determines how "far away" a server feels.
Service Worker — A JavaScript file that runs in the background of a browser, enabling offline caching, background sync, and push notifications.
TTFB (Time to First Byte) — Time from starting navigation to receiving the first byte of the HTML response.
TTI (Time to Interactive) — Time until the page responds reliably to user input.
USSD — Unstructured Supplementary Service Data; a session-based text protocol on GSM networks (dialling codes like *151#), working on every phone without a data plan.
WebP / AVIF — Modern image formats with better compression than JPEG/PNG (WebP 25–35% smaller, AVIF 30–50% smaller than WebP).
WOFF2 — Web Open Font Format 2; the most compressed web font format.
Zero-rating — When a mobile operator exempts specific services from data charges, allowing users to access them "for free."
Network speeds, data costs, and device prices in this book are based on measurements and research from 2024–2026. Actual prices and speeds vary significantly between countries, operators, and time periods. The engineering principles, however, remain constant regardless of specific numbers.
The stories of Rutendo (Chapter 1), Chipo (Interlude I), Tinashe (Interlude II), and Takunda (Interlude III) are based on real people and real incidents. Names and some details have been changed for privacy.
All performance recommendations reflect 2026 browser capabilities. Modern browsers (Chrome, Firefox, Safari, Edge, and their mobile variants) all support Brotli, WebP, native lazy loading, service workers, WOFF2, srcset, and the other technologies recommended in this book.
Thanks to Tinashe in Chimanimani for showing me what the peripheral internet looks like when it works. Thanks to Takunda for demonstrating the 14x multiplier. Thanks to Nyasha Zhou, who also wrote the foreword to Mobile Money Rails, for field measurements of network performance across southern Africa. Thanks to the developers in Harare, Nairobi, Lagos, Accra, and Cape Town who are building the right way and sharing what they learn. Thanks to the creators of Kiwix, Kolibri, Internet-in-a-Box, and other tools that bring knowledge to places the internet has not reached. Thanks to the team that maintains MDN Web Docs — the best reference for web developers anywhere.
Writing about building for slow networks while having fast internet is a humbling exercise. Any errors are mine.
This book was written in Markdown, assembled with a Python script, typeset with WeasyPrint using system fonts, and built into PDF (6×9 inch trade paperback) and EPUB formats.
The cover design employs a signal-dot motif — three concentric arcs of radiating dots expanding from a single source, rendered in oxblood, teal, and navy on cream — distinct from the four-pillar medallion (Book 1), wrapper-grid (Book 2), invisible-shield mesh (Book 3), stamp-seal (Book 4), human-figure-feedback-loop (Book 5), rails-and-phones (Book 6), and distributed node mesh (Book 7).
Set in system sans-serif type. Manuscript length is approximately 40,000 words. Typeset at 10.5 point type on 1.5 leading with 22 mm margins for trade paperback readability.
All code examples in this book are released under CC0 (public domain); use them freely. The prose is © 2026 Courage Garikai and ColdCode Si Labs.
Harare, Zimbabwe November 2026