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.
Tag
10 articles with this tag. Follow these related notes when you want a narrower study path.
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.
Security Jul 25, 2026 8 min read
Configure CORS safely in Spring Boot and Express with exact origins, credentials, preflight caching, rejection behavior, tests, and deployment checks.
Backend Jul 2, 2026 5 min read
Learn how CORS preflight requests work, including OPTIONS handling, allowed methods, headers, credentials, caching, errors, and backend mistakes.
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.
Backend Jun 30, 2026 5 min read
Learn practical secure HTTP headers for backend apps, including HSTS, CSP, X-Content-Type-Options, frame protection, referrer policy, and cookie-related limits.
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 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.