GitHub Actions Caching Strategy
Cache by lock-file hash, restore by prefix. The cache key looks like npm-hashFiles('package-lock.json') with restore key npm-.For matrix builds, include the OS and Node version in …
Read article →Notes on JavaScript, PHP, WordPress, design, performance, and the practical side of shipping better digital products.
Topics covered
The blog is designed to support both technical readers and clients who want clearer language around scope, quality, and implementation decisions.
Cache by lock-file hash, restore by prefix. The cache key looks like npm-hashFiles('package-lock.json') with restore key npm-.For matrix builds, include the OS and Node version in …
Read article →Blue-green spins up a parallel environment, runs smoke tests, then flips traffic. Rollback is fast — just flip back. Cost: double the infrastructure during the…
Read article →A backup you have not tested is not a backup. Schedule monthly restores into a staging environment — automate the verification.For Postgres, pg_dump for logical…
Read article →Three-phase pattern for schema changes: add the new column, dual-write to both, backfill in batches, switch reads, drop the old column. Each phase is independently…
Read article →Monitoring tells you something is wrong (alerts, dashboards). Observability tells you why (traces, logs, structured events).The minimum useful set: structured logs with request IDs…
Read article →