A frontend developer shares their experience refactoring a startup's Flask-based web application over 5 months. The project involved assessing a messy codebase with 76 average requests per page, extracting inline JavaScript and styles, rewriting templates from scratch, and reducing page weight from 6MB to 311KB. The author

10m read timeFrom chenhuijing.com
Post cover image
Table of contents
Assessing the situationBurn it down, build it upWrapping up

Sort: