
HTTP Cache Headers Spring Configuration for REST Responses
Set HTTP cache headers in Spring: Cache-Control, max-age, no-store, private versus public, Vary, stale-while-revalidate and static resource caching.
Everything you need to level up your coding skills.

Set HTTP cache headers in Spring: Cache-Control, max-age, no-store, private versus public, Vary, stale-while-revalidate and static resource caching.

See how Spring Boot auto configuration is discovered, which conditions decide whether a configuration applies, and why your own beans always win.

Find out why @Transactional is ignored on a self call, a private method or a swallowed exception, and fix it by moving the call across a bean boundary.

Compare the repository pattern with Spring Data repositories: what each is for, when a domain interface over Spring Data helps and when it adds nothing.

Fix the Java PKIX path building failed TLS error by finding the missing CA, importing it into a truststore and never disabling verification.

Use AtomicInteger, AtomicLong and LongAdder for thread safe counters in Java: compareAndSet, updateAndGet, contention behaviour and which class to choose.

Learn Jakarta Data 1.0: repository interfaces, CrudRepository, Find and Query annotations, pagination and how it compares with Spring Data.

Do contract testing with Spring Cloud Contract: write Groovy or YAML contracts on the producer, generated tests, stubs for consumers and publishing in CI.

Move a Java service to generational ZGC: the flags by JDK version, what changes from G1 and single generation ZGC, heap headroom and how to compare results.

Handle slow processing in Kafka consumers: tune max.poll.records and max.poll.interval.ms, pause and resume partitions and bound the work queue.

Add health checks, Micrometer metrics and OpenTelemetry tracing to a Quarkus service: the extensions, endpoints, custom checks and settings for Kubernetes.

Upload files in JSF with PrimeFaces p:fileUpload: size and type limits, UploadedFile, safe storage outside the web root and common errors.
We send one email when a new post is published. No spam.