Tagged articles
HTTP caching
15 articles · Page 1 of 1
This article explains how nginx's sub_filter module removes Last-Modified and ETag headers during HTML replacement, why heuristic caching can still serve stale SPA entry pages, and how to explicitly set Cache-Control: no-cache while preserving security headers and retaining old hashed assets during deployments.
Cache ControlETagHTTP caching
0 likes · 15 min read

Learn how to accelerate PHP web applications by leveraging output buffering, GZIP compression, HTTP caching headers, and asynchronous cURL multi‑requests, with clear code examples that demonstrate each technique for reducing network round‑trips and improving overall user experience.
GZIPHTTP cachingOutput Buffering
0 likes · 4 min read

Discover six practical Spring Boot optimization techniques—including Tomcat thread‑pool tuning, @Async asynchronous processing, HTTP caching, switching to Undertow, HikariCP connection pooling, and JVM memory settings—that transformed a sluggish e‑commerce service from 5‑second delays to sub‑1.5‑second response times.
HTTP cachingHikariCPUndertow
0 likes · 11 min read

This article explains how to boost PHP web application performance by using output buffering, gzip compression, HTTP caching headers, and asynchronous cURL requests, providing code examples for each optimization technique in real-world scenarios.
BufferingHTTP cachingPHP
0 likes · 5 min read

This article explores the shortcomings of current HTTP caching practices, proposes a three‑level cache design for B/S architectures, discusses gateway simplification with Apache APISIX, offers data‑size reduction tips, and presents a hand‑crafted Java HTTP cache framework with code examples.
HTTP cachingJavaSpring Cloud Gateway
0 likes · 16 min read

This article explains the principles and practical configurations of HTTP forced and negotiated caching, Service Worker lifecycle and caching, HTTP/2 server push, and CDN caching, providing concrete header examples, code snippets, and recommendations for optimal front‑end performance.
CDNHTTP cachingPush cache
0 likes · 17 min read

This article explains why server‑generated URLs with authentication break traditional HTTP caching and then guides readers through three offline‑caching strategies—HTTP strong and negotiated caching, the now‑deprecated Application Cache, and modern Service Workers—providing practical code examples and best‑practice recommendations.
Application CacheHTTP cachingService Worker
0 likes · 21 min read

This article explains why developers should avoid overriding the HttpServlet service() method, illustrating how the default implementation handles HTTP cache negotiation, showing concrete servlet examples, and demonstrating the significant traffic and performance benefits of letting the container manage caching automatically.
HTTP cachingJavaServlet
0 likes · 9 min read

This article explains how HTTP caching works, breaks down the three caching strategies, analyzes real‑world header examples, and reveals why browsers may still cache resources even when Cache‑Control is set to no‑cache or private, using heuristic expiration rules.
Browser CacheCache ControlHTTP caching
0 likes · 12 min read

This article explains the fundamentals of web caching, covering cache concepts, hit and miss workflows, expiration handling, conditional validation methods, and multi‑level cache strategies used in HTTP to improve performance and ensure data freshness.
Cache ControlConditional RequestsHTTP caching
0 likes · 15 min read


21CTOMay 1, 2016 · Backend Development
This article explains the fundamentals of HTTP caching, detailing the relevant request and response header fields, their interactions, practical simulation using Fiddler, browser-specific behaviors, and best‑practice strategies for configuring Expires, Cache‑Control, ETag, and Last‑Modified to improve web performance.
Browser CacheCache ControlETag
0 likes · 21 min read

This article provides a comprehensive overview of Varnish, covering its high‑performance caching architecture, core processes, built‑in VCL functions, variable usage across request handling stages, and practical configuration examples for optimizing web server response speed.
HTTP cachingVCLVarnish
0 likes · 8 min read

Varnish is a high‑performance open‑source reverse proxy and HTTP cache that stores data in memory for faster retrieval, using a master process to manage child workers that handle requests, allocate, serve, and evict cached objects based on LRU policies.
Backend PerformanceHTTP cachingMemory Cache
0 likes · 4 min read

This article explains what web caching is, how cache hit rates are measured, the request‑processing flow, freshness‑checking methods and cache‑control directives, then introduces Varnish as a high‑performance HTTP reverse‑proxy, detailing its threads, state machines, VCL syntax, installation, configuration examples and cache‑purge techniques.
Cache ControlHTTP cachingVarnish
0 likes · 16 min read

Varnish is a high‑performance open‑source reverse proxy and HTTP accelerator that outperforms Squid through in‑memory caching, multi‑process architecture, and flexible VCL scripting; this guide covers its advantages, disadvantages, configuration, VCL syntax changes, request handling flow, and practical deployment examples.
HTTP cachingVCLVarnish
0 likes · 18 min read
