14 November 2019 0 comments Web development, MDN
This blog post is 3 years old! Most likely, its content is outdated. Especially if it's technical.
Recently I've been playing with the content of MDN as a whole. MDN has ~140k documents in its Wiki. About ~70k of them are redirects which is the result of many years of switching tech and switching information architecture and at the same time being good Internet citizens and avoiding 404s. So, out of the ~70k documents, how do they spread? To answer that I wrote a Python script that evaluates size as a matter of the sum of all the files in sub-trees including pictures.
Here are the screenshots:
All locales

Specifically en-US

The code that puts this together uses Toast UI which seems cool but I didn't spend much time worrying about how to use it.
Be warned! Opening this link will make your browser sweat: https://8mw9v.csb.app/
You can fork it here: https://codesandbox.io/s/zen-swirles-8mw9v
- Previous:
- Avoid async when all you have is (SSD) disk I/O in NodeJS 24 October 2019
- Next:
- A Python and Preact app deployed on Heroku 13 December 2019
- Related by category:
- Fastest way to find out if a file exists in S3 (with boto3) 16 June 2017 Web development
- How to throttle AND debounce an autocomplete input in React 1 March 2018 Web development
- How to create-react-app with Docker 17 November 2017 Web development
- Be very careful with your add_header in Nginx! You might make your site insecure 11 February 2018 Web development
- How to have default/initial values in a Django form that is bound and rendered 10 January 2020 Web development
- Related by keyword:
- Displaying fetch() errors and unwanted responses in React 6 February 2019
- Fastest Python function to slugify a string 12 September 2019
- How to get all of MDN Web Docs running locally 9 June 2021