API Design Jul 26, 2026 10 min read
Cache-Control Explained for APIs
Choose safe API caching policies with max-age, s-maxage, private, no-cache, no-store, revalidation, and practical Java and Node.js recipes.
Category
25 articles in this category. Use this page as a focused path through related backend concepts.
API Design Jul 26, 2026 10 min read
Choose safe API caching policies with max-age, s-maxage, private, no-cache, no-store, revalidation, and practical Java and Node.js recipes.
API Design Jul 26, 2026 8 min read
Design safe CDN cache keys, shared TTLs, revalidation, stale responses, and invalidation workflows for Java and Node.js APIs.
API Design Jul 26, 2026 6 min read
Implement ETag, If-None-Match, Last-Modified, 304 responses, and safe update preconditions with Spring Boot and Express examples.
API Design Jul 26, 2026 10 min read
Understand Cache-Control, Age, Expires, Vary, freshness, validation, and browser versus shared cache behavior with Java and Node.js examples.
API Design Jul 26, 2026 8 min read
Protect authenticated and personalized API responses from browser and shared-cache leaks with safe Java and Node.js policies and tests.
API Design Jul 25, 2026 7 min read
Model bearer tokens, API keys, OAuth 2.0, and OpenID Connect in OpenAPI with Springdoc and Express examples, overrides, tests, and enforcement boundaries.
API Design Jul 18, 2026 10 min read
Learn how API rate limit headers communicate quotas, remaining capacity, retry timing, and client behavior across current and legacy formats.
API Design Jul 18, 2026 11 min read
Use RFC 9745 Deprecation, deprecation links, and Sunset headers to communicate API lifecycle dates, migration guidance, and removal plans.
API Design Jul 18, 2026 7 min read
Build cursor pagination with stable sorting, keyset SQL, opaque signed tokens, filter binding, error handling, and Java and Node.js implementations.
API Design Jul 18, 2026 11 min read
Design RFC 9457 problem details for HTTP APIs with stable type URIs, safe extensions, validation errors, Spring Boot, and Node.js examples.
API Design Jul 1, 2026 5 min read
Learn how to design pagination metadata for REST APIs, including pageInfo, cursors, hasNextPage, limits, totals, links, sorting, and compatibility.
API Design Jul 1, 2026 5 min read
Compare JSON Schema and OpenAPI Schema for backend API contracts, including validation, documentation, examples, tooling, and compatibility.
API Design Jul 1, 2026 6 min read
Use this REST API design checklist to review resources, methods, status codes, errors, pagination, idempotency, versioning, auth, and OpenAPI docs.
API Design Jun 30, 2026 4 min read
Learn how OpenAPI describes REST APIs, including paths, operations, schemas, examples, auth, versioning, code generation, and contract review.
API Design Jun 30, 2026 4 min read
Compare PUT and PATCH in REST APIs, including replacement vs partial updates, idempotency, validation, status codes, and backend implementation choices.
API Design Jun 30, 2026 5 min read
Learn how webhook signature verification works, including HMAC headers, raw request bodies, timestamps, replay protection, secret rotation, and safe failures.
API Design Jun 29, 2026 5 min read
Learn what an API gateway does in backend architecture, including routing, authentication, rate limiting, observability, and tradeoffs.
API Design Jun 29, 2026 5 min read
Learn practical REST API error handling patterns, including status codes, stable error codes, field errors, request IDs, and safe messages.
API Design Jun 29, 2026 4 min read
Learn how webhooks work in backend systems, including event delivery, signatures, retries, idempotency, and common design mistakes.
API Design Jun 28, 2026 5 min read
Learn practical API versioning strategies, including URL versions, header versions, backward compatibility, deprecation, and migration plans.
API Design Jun 28, 2026 5 min read
Learn how API rate limiting works, including fixed windows, sliding windows, token buckets, 429 responses, headers, and backend tradeoffs.
API Design Apr 5, 2026 5 min read
Compare offset, cursor, and keyset pagination for REST APIs, including tradeoffs, response shapes, sorting, and backend performance.
API Design Mar 29, 2026 6 min read
Learn what idempotency means in API design, why retries create duplicate actions, and how idempotency keys protect backend workflows.
API Design Mar 22, 2026 5 min read
Understand the HTTP status codes backend developers use most often in REST APIs, including 200, 201, 400, 401, 404, 409, and 500.
API Design Jan 21, 2026 5 min read
Compare REST and RPC API styles through resources, actions, payload design, caching, versioning, and backend team workflows.