{
  "id": 146548,
  "title": "Eco-friendly docs",
  "url": "https://urgent.news/2026/08/04/eco-friendly-docs",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-04T15:56:02.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://starlight.astro.build/environmental-impact/"
  },
  "original_language": "en",
  "account": "The web industry is responsible for between 2% and 4% of global carbon emissions, comparable to the airline sector's emissions. Crafting eco-friendly documentation starts with selecting a green web platform. Starlight, a website builder, outperforms 98% of web pages tested, emitting only 0.01g of CO₂ per page view. Heavier web pages require more energy; as of April 2023, the HTTP Archive's median web page needed downloads exceeding 2,000 KB. Starlight's lightweight pages download less than 50 KB on first visit, a mere 2.5% of the median. Implementing a robust caching strategy allows subsequent page loads to be as small as 10 KB. While Starlight offers a solid foundation, images in your docs can significantly bloat your page weight. Using Astro's optimized assets, Starlight compresses local images in Markdown and MDX files. Components utilizing UI frameworks such as React or Vue can inadvertently inject large amounts of JavaScript, which Starlight prevents by default through Astro Islands. Caching strategies in Starlight store downloaded data for later use, only fetching updated content when necessary. Configuring caching varies by web host; Vercel handles this automatically, while Netlify requires a custom _headers file. The power consumption of a web page on a user's device depends on how much JavaScript it uses. Starlight minimizes JavaScript, decreasing the processing power required to load and render pages. Avoid heavy features like analytics scripts or video embeds unless essential; lightweight alternatives such as Cabin, Fathom, Plausible, or astro-embed can be utilized. The host's sustainability, including its energy source and water usage, profoundly affects your site's environmental impact. Utilizing a host powered by renewable energy reduces the site's carbon footprint. The Green Web Directory assists in identifying eco-friendly hosting providers. A comparative review of various documentation frameworks can be found using the Website Carbon Calculator, which features data collected on April 21, 2026.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}