← All Learning Paths

Web Performance

Make the web fast: budgets, profiling, caching, delivery, and regression gates.

technicalintermediate8 nodes11.08h total

Learning path

Make the web fast: budgets, profiling, caching, delivery, and regression gates.

  1. Read "Performance Optimization: From Profiling to Deployment" for the "Find and fix performance bottlenecks with profiling, then lock in the gains with caching," argument, then name the decision in web performance work it would change.

    Completion criteria: Record a short walkthrough of "Performance Optimization: From Profiling to Deployment" with timestamps at "Find and fix performance bottlenecks with profiling, then lock in the gains with caching," and "Measure Before You Optimize", plus the commit that applies it.

    Next step: Warm Critical Cache Keys Before Traffic

    ⏱ 1h

  2. Execute "Warm Critical Cache Keys Before Traffic" end to end, then repeat the last step with one parameter changed and compare "The warm-up targets a bounded, high-value set instead of the full database.".

    Completion criteria: Run the steps through "The warm-up targets a bounded, high-value set instead of the full database.", paste the command output, and mark the line that matches "Select a bounded set of keys by traffic or business value, not the entire dataset."; then rerun with one parameter changed.

    Next step: Add a Performance Budget to CI

    ⏱ 0.5h

  3. Run "A pull request that exceeds the budget fails the check." from "Add a Performance Budget to CI" and confirm the documented result "Run the check after the production build in CI and upload the report as an artifact.".

    Prerequisites: Warm Critical Cache Keys Before Traffic

    Completion criteria: Deliver a transcript of "Add a Performance Budget to CI" with each step's command and observed state, ending at "A pull request that exceeds the budget fails the check.".

    Next step: Coalesce Concurrent Requests for the Same Key

    ⏱ 0.5h

  4. Apply "Coalesce Concurrent Requests for the Same Key" to a web performance task, checking that "Implement a single-flight map that stores the in-flight promise per key and removes it in" appears after the "Concurrent calls for the same key share one promise and one origin request." step.

    Prerequisites: Add a Performance Budget to CI

    Completion criteria: Show the command for every step of "Coalesce Concurrent Requests for the Same Key" and paste the output proving "Concurrent calls for the same key share one promise and one origin request."; then note the step where "Implement a single-flight map that stores the in-flight promise per key and removes it in" appears.

    Next step: Big-O Complexity Visualizer

    ⏱ 0.5h

  5. Use "Big-O Complexity Visualizer" on a web performance sample, then check "algorithms, complexity, visualization" against your manual result.

    Prerequisites: Coalesce Concurrent Requests for the Same Key

    Completion criteria: Paste two input/output pairs from "Big-O Complexity Visualizer" and annotate the one where "algorithms, complexity, visualization" changes the result.

    Next step: Caching Strategies for Web Applications

    ⏱ 0.25h

  6. Read "Caching Strategies for Web Applications" for the "Cache Stampede, Single-Flight, and Consistency Models" argument, then name the decision in web performance work it would change.

    Prerequisites: Big-O Complexity Visualizer

    Completion criteria: Attach a one-page summary that quotes "Cache Stampede, Single-Flight, and Consistency Models", lists two trade-offs, and links the commit where you applied it.

    Next step: Sum the Blocking Critical Path Against a Budget

    ⏱ 1h

  7. Build "Sum the Blocking Critical Path Against a Budget" for web performance code and verify {criticalKb:160,overBudget:true,largest:/app.js} against both samples.

    Completion criteria: Submit a solution for "Web Performance" that passes both samples ({resources:[{url:/app.css,sizeKb:40,blocking:true},{url:/fon to {criticalKb:160,overBudget:true,largest:/app.js}) and attach the failing case you fixed.

    Next step: Capstone: Web Performance

    ⏱ 0.33h

  8. Ship "Vary splitter" from "Build an HTTP Cache Layer", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Sum the Blocking Critical Path Against a Budget

    Completion criteria: Deliver "Vary splitter" and paste the test output where the acceptance test passes; include the test name and command.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h