Edge Computing Engineer
An edge computing path covering CDN delivery, HTTP caching, ETag revalidation, cache invalidation, edge functions, and Hono.
Path overview
边缘计算把逻辑推到离用户最近的位置,代价是对缓存一致性与失效策略要求极高。本路径从 CDN 与 HTTP 缓存语义出发,覆盖 ETag 条件请求、缓存键与失效、静态资源版本化、边缘函数与 Hono,以及安全清理 CDN 缓存的工作流。
This path pushes logic to the edge: CDN and HTTP caching semantics, ETag conditional requests, cache keys and invalidation, asset versioning, edge functions with Hono, and a safe cache-purge workflow.
Compare "In-Application Caching: LRU and TTL" with "Invalidation: The Hard Problem" in "Caching Strategies for Web Applications" and state which trade-off you would accept in edge code.
Next step: Vercel Next.js Edge Functions
⏱ 1h
Read "Vercel Next.js Edge Functions" as an architecture drill: for each Zero-cold-start edge runtime component, state what it owns and what it delegates.
Next step: Go + Hono Edge Microservice
⏱ 1.5h
Compare "Go + Hono Edge Microservice"'s Go, Hono, OpenTelemetry design with your edge stack and list the trade-off "Minimal runtime surface and tree-shaking to keep cold starts small" implies.
Prerequisites: Vercel Next.js Edge Functions
Next step: Set HTTP Cache Headers for Static Assets and HTML
⏱ 1.5h
Run "Filenames such as app.3f9c2a1b.js with a content hash." from "Set HTTP Cache Headers for Static Assets and HTML" and confirm the documented result "Confirm that asset filenames contain a content hash. Only then is a long immutable cache".
Prerequisites: Go + Hono Edge Microservice
Next step: Purge CDN Cache After Every Deploy
⏱ 0.5h
Apply "Purge CDN Cache After Every Deploy" to a edge task, checking that "An invalidation is created with an ID and the requested paths." appears after the "Make a deploy visible immediately without purging the entire distribution and hammering the" step.
Prerequisites: Set HTTP Cache Headers for Static Assets and HTML
Next step: Serve Stale Content on Origin Errors
⏱ 0.5h
Execute "Serve Stale Content on Origin Errors" end to end, then repeat the last step with one parameter changed and compare "Keep a site available during short origin outages by extending the usable lifetime of cached".
Prerequisites: Purge CDN Cache After Every Deploy
Next step: Hono
⏱ 0.5h
- 7
Hono
Wire "Hono" into a scratch edge project, following "Routing app.get(path: string, handler: Handler): void", and record one working request/response pair.
Prerequisites: Serve Stale Content on Origin Errors
Next step: Decide Cache Revalidation from Headers
⏱ 1h
Solve "Decide Cache Revalidation from Headers" for edge work: turn JSON object: { response: { cacheControl, ageSeconds, etag? }, into {directives:{public:true,maxAge:60,staleWhileRevalidate:30},status:304 and pass both samples.
Prerequisites: Hono
Next step: Capstone: Edge Computing Engineer
⏱ 0.42h
Build "Build an Image CDN Proxy with On-the-Fly Resizing" through its phases, keeping "Signed parameters" independently testable.
Prerequisites: Hono, Decide Cache Revalidation from Headers
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h