2HAASStart a project
All posts

Blog

Guides.

Step-by-step walkthroughs of the techniques we rely on in client work.

11 postsRSS feed

  1. 5 min read

    Enhance Web Security with Content Security Policy

    Learn how to implement a Content Security Policy (CSP) to protect your web applications from common attacks like XSS and data injection.

  2. 4 min read

    Mastering Responsive Layouts with CSS Container Queries

    Learn how to implement CSS Container Queries for truly responsive, component-based layouts. This guide covers setup, syntax, and practical examples.

  3. 2 min read

    Reduce Docker image size with multi-stage builds

    Large Docker images slow down every build, push and deploy. Multi-stage builds, slim base images and a .dockerignore file can cut an image to a fraction of its size.

  4. 2 min read

    Git interactive rebase: clean commits before review

    A branch full of wip and typo commits is hard to review. Interactive rebase lets you squash, reorder and reword commits into a history that explains the change.

  5. 2 min read

    Find performance bottlenecks with Chrome DevTools

    Stop guessing why a page is slow. Use the Network and Performance panels in Chrome DevTools to find the heavy files, long tasks and layout shifts that cost you speed.

  6. 2 min read

    How to reduce JavaScript bundle size

    Every kilobyte of JavaScript is downloaded, parsed and run before a page responds. Measure the bundle, split it by route, lazy load the rest and trim dependencies.

  7. 2 min read

    Microservice observability: logs, metrics and traces

    When a request crosses ten services, one log file cannot explain a slow checkout. Logs, metrics and traces each answer a different question. Here is how they fit.

  8. 3 min read

    Error handling in microservices: retries and circuit breakers

    In a distributed system, something is always failing a little. Timeouts, retries with backoff, circuit breakers and consistent errors keep one fault from spreading.

  9. 3 min read

    JWT best practices: expiry, storage and validation

    JSON Web Tokens are simple to issue and easy to get wrong. Short lifetimes, refresh token rotation, safe storage and strict validation close the common holes.

  10. 3 min read

    Image optimization for the web: a practical guide

    Images are usually the heaviest part of a page. Resize them, compress them, serve modern formats and the right size per screen, and load them in the right order.

  11. 3 min read

    API endpoint security: a practical checklist

    Most API breaches come from a short list of mistakes: missing authorization checks, trusted input and no rate limits. A checklist to review every endpoint against.

Tell us what’s in the way.

A few lines is enough. You get a candid yes, a candid no, or a sharper question.

  • Working software in week four
  • A reply in one business day
  • Handover is the deliverable

Prefer email? [email protected]

The problem, who it is for, and what is in the way right now.

One business day to a real reply. No sales sequence, no call required.