Tagged articles
Cache Control
44 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

This guide shows how to use Nginx to route production and test traffic on the same domain using IP allowlists, a test cookie, and Basic Auth, while isolating sessions, caches, and dependencies to prevent cross-environment contamination.
Cache ControlNGINXbasic-auth
0 likes · 28 min read

The article walks through basic front‑end packaging with npm, explains why simple static hosting falls short for high‑traffic sites, and then details advanced techniques such as content‑hash URLs, non‑overlapping releases, and Nginx‑based gray deployments to ensure stable, performant production rollouts.
CI/CDCache ControlDocker
0 likes · 8 min read

This article explains Anthropic's Prompt Caching mechanism including cache_control configuration, automatic vs explicit breakpoint caching, prefix hierarchy, 20-block lookback window, 4-breakpoint limit, TTL pricing (0.1x read, 1.25x/2x write), observability metrics, and Spring AI integration with code examples.
AI EngineeringAnthropicCache Control
0 likes · 11 min read

This guide explains how Nginx implements both client‑side (browser) and server‑side (proxy) caching, details strong and conditional caching mechanisms, and provides practical configuration examples and code snippets to optimize cache behavior and improve web performance.
Cache ControlCachingHTTP
0 likes · 27 min read

This guide explains the concepts, response headers, Nginx configuration examples, behaviors, and best‑practice strategies for both strong (max‑age) and negotiated (ETag/Last‑Modified) caching, helping you improve web performance and significantly reduce server load.
Cache ControlCachingNGINX
0 likes · 7 min read

Learn two practical Nginx configurations to prevent browsers from caching HTML files by setting appropriate Cache-Control, Pragma, and Expires headers, with examples for both standard location blocks and conditional directives, ensuring fresh content delivery for your web applications.
BackendCache ControlHTTP headers
0 likes · 2 min read

This article provides a comprehensive guide to PHP's header() function, covering its syntax, parameters, and five common scenarios—including page redirects, setting response headers, status codes, cache control, and file downloads—along with clear code examples and best‑practice tips.
Cache ControlPHPheader
0 likes · 5 min read

This article explains the PHP header() function, its syntax, parameters, and common use cases such as page redirection, setting HTTP response headers, status codes, preventing caching, and enabling file downloads, with clear code examples for each scenario.
Cache ControlHTTPRedirect
0 likes · 4 min read

This article explains the mechanisms of frontend caching, covering HTTP cache headers such as Expires and Cache‑Control, browser memory and disk caches, negotiation strategies with ETag and Last‑Modified, and practical NestJS examples to improve web performance.
Cache ControlETagHTTP
0 likes · 14 min read

This article explains the fundamentals of HTTP caching, including how it works, the different cache types, key cache-control directives, and the testing scenarios where testers must be aware of cache behavior to ensure performance, data consistency, and security.
Browser CacheCache ControlCaching
0 likes · 11 min read

This article explains the complete browser caching workflow for Google Chrome, covering strong and conditional caching mechanisms, the differences between disk and memory caches, relevant HTTP response headers, how to clear or bypass caches, and practical Nginx configuration tips for front‑end developers.
Cache ControlNGINXbrowser caching
0 likes · 16 min read

This article explains the fundamentals of HTTP caching, covering the structure of HTTP messages, the two main cache strategies—strong caching and validation caching—the relevant response headers such as Expires, Cache-Control, Last-Modified, and ETag, and provides practical guidelines for effective cache implementation in web development.
Cache ControlCachingETag
0 likes · 13 min read

This article explains the fundamentals of HTTP caching, covering request/response structures, strong and validation cache rules, header directives like Expires and Cache-Control, and practical tips for implementing effective caching strategies in front‑end development.
Cache ControlETagHTTP
0 likes · 13 min read

This article explains the fundamentals of HTTP caching, covering request/response structures, the difference between strong and validation caching, key headers like Expires, Cache‑Control, Last‑Modified, ETag, and practical strategies for optimizing web performance through effective cache control.
Cache ControlETagfrontend
0 likes · 14 min read

This article explains the various web caching mechanisms—including database, CDN, proxy, browser, and application‑level caches—why browser caching matters for performance, how ETag and Cache‑Control headers work, and practical checklist items for effectively managing cache in modern web applications.
Browser CacheCache ControlETag
0 likes · 12 min read

This guide walks through assigning a custom domain to a Function Compute‑hosted static blog, configuring Alibaba Cloud CDN as the acceleration layer, fixing Cache‑Control headers, and verifying cache hit improvements, providing step‑by‑step instructions and screenshots for each stage.
Alibaba CloudCDNCache Control
0 likes · 9 min read

This article explains how HTTP caching works, highlights security and privacy risks such as those introduced by the Spectre vulnerability, and recommends safe cache-control settings like using private caches and varying by Cookie to protect sensitive web resources.
Cache ControlVaryWeb Security
0 likes · 10 min read

HTTP Cache‑Control defines how browsers, proxies, and origin servers coordinate caching through directives like public, private, max‑age, no‑store, and revalidation, enabling developers to control freshness, reduce server load, save bandwidth, and improve user experience while avoiding stale‑content issues.
Cache ControlCachingHTTP
0 likes · 25 min read


ByteFEMar 29, 2021 · Backend Development
This article explains why caching is essential for web performance, describes the two main HTTP cache types (strong and negotiated), compares Expires and Cache‑Control headers, and details ETag generation, validation, and best‑practice considerations in server implementations such as Nginx.
BackendCache ControlCaching
0 likes · 10 min read

This article provides a comprehensive overview of HTTP caching mechanisms, detailing cache‑related header fields, browser behaviors, legacy and modern directives, validation techniques, and practical tips for configuring efficient cache strategies in web applications.
Cache ControlETagHTTP
0 likes · 18 min read

Browser caching works by storing copies of web resources in memory, disk, or service‑worker caches and using HTTP headers such as Cache‑Control, Expires, ETag, and Last‑Modified to decide freshness, allowing strong (local) and negotiated (weak) cache stages, while developers can fine‑tune performance with CDN settings, IndexedDB, Service Workers, and HTML5 storage to create optimal, auditable cache strategies.
Cache ControlHTTPWeb Caching
0 likes · 15 min read

This article explains the fundamentals of HTTP caching, covering forced and conditional cache strategies, key response headers like Cache-Control, Expires, ETag, and Last-Modified, and demonstrates how browsers decide when to serve cached content versus fetching fresh data.
Cache ControlCachingHTTP
0 likes · 9 min read

This article explains how improper cache‑control settings cause stale styles on repeat visits and provides a step‑by‑step guide to using ETag, Last‑Modified, and Cache‑Control directives—plus build‑tool tricks—to keep every user’s browser always serving the latest version of your website.
Cache ControlETagLast-Modified
0 likes · 7 min read

This article explains the fundamentals of browser HTTP caching, detailing request and response structures, the processes of forced and negotiated caching, cache-control directives like Expires and Cache-Control, and how browsers store and retrieve resources from memory and disk caches.
Cache ControlCachingHTTP
0 likes · 11 min read

This article provides a comprehensive guide to browser caching, detailing the mechanisms of strong cache (Expires and Cache‑Control) and conditional cache (Last‑Modified, If‑Modified‑Since, and ETag), their directives, step‑by‑step workflows, status codes, and a side‑by‑side comparison to help developers optimize web performance.
Browser CacheCache ControlETag
0 likes · 11 min read

This article explains why browser caching is essential for performance, outlines its benefits, common scenarios, and details various cache types—including data, storage, and HTTP header caches—while providing practical strategies for implementation and updates.
Cache ControlFrontend Developmentbrowser caching
0 likes · 11 min read


21CTOJul 15, 2018 · Mobile Development
This article explains the principles and practical methods for caching JavaScript and other resources in Android WebView, covering HTTP cache headers, WebView cache modes, storage locations across Android versions, and the use of HTML5 AppCache to minimize network traffic and improve app performance.
AndroidAppCacheCache Control
0 likes · 16 min read


21CTOSep 16, 2017 · Frontend Development
This article explains how various web caching techniques—including browser, proxy, CDN, and storage APIs—work together through HTTP headers, expiration policies, and validation mechanisms to dramatically improve frontend load times and reduce bandwidth usage.
Browser CacheCDNCache Control
0 likes · 8 min read

This article explains why updated web assets like images, JS, or CSS may still show old versions in browsers and hybrid apps, covering HTTP protocol caching, HTML5 application cache, cache‑busting techniques, and platform‑specific WebView cache handling for Android and iOS.
Cache ControlHTML5Web Caching
0 likes · 14 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 how browsers cache resources, the role of HTTP response headers such as Last-Modified, Expires, Cache-Control, ETag, and Age, and provides practical examples of controlling cache behavior with Spring MVC code and detailed Nginx configuration for both static and proxy caching.
Cache ControlHTTP headersNGINX
0 likes · 21 min read

This article explains the fundamentals of browser caching, detailing how Expires and Cache‑Control headers such as max‑age, Last‑Modified, and ETag work together to reduce latency, bandwidth usage, and improve user experience, and provides step‑by‑step examples of common caching strategies in practice.
Browser CacheCache ControlETag
0 likes · 11 min read

This article experimentally compares the HTTP Cache‑Control directives no‑cache and must‑revalidate in both direct and proxy‑mediated scenarios, showing how browsers, cache servers, and origin servers interact and what status codes are returned under different cache‑expiration and resource‑change conditions.
Cache ControlCachingWeb Performance
0 likes · 18 min read


Aotu LabOct 10, 2016 · Frontend Development
This guide explains why HTTP caching can be tricky, then provides concise, actionable rules for static assets and dynamic content, covering Cache‑Control, Expires, ETag, Last‑Modified, Vary headers, and how browsers handle refreshes to improve web performance.
Cache ControlCachingETag
0 likes · 9 min read

This article explains the essential HTTP caching headers—Expires, Cache‑Control, Pragma, Last‑Modified, and ETag—their priorities, how browsers validate cached resources, and the impact of different refresh actions (URI entry, F5, Ctrl+F5) on cache behavior, offering practical guidance for optimal web performance.
Cache ControlCachingETag
0 likes · 20 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


21CTOMar 31, 2016 · Backend Development
Learn how HTTP caching works by leveraging the ETag response header, the If-None-Match request header, and Cache-Control directives to reduce bandwidth, improve performance, and control resource freshness across browsers and proxies, with practical examples and guidance on choosing appropriate caching strategies.
Cache ControlETagHTTP
0 likes · 7 min read


21CTOJan 26, 2016 · Frontend Development
This article explains the fundamentals of browser caching, compares strong and negotiated cache mechanisms, shows how Expires and Cache‑Control headers work, provides Java code examples for managing cache, and offers practical tips for avoiding stale resources during development.
Cache ControlHTTP headersbrowser caching
0 likes · 19 min read


21CTOAug 17, 2015 · Frontend Development
This article explains how browsers cache resources using HTTP headers like Expires, Cache‑Control, Last‑Modified, and ETag, describes non‑HTTP meta tag tricks, outlines which requests cannot be cached, and shows how different user actions affect cache behavior.
Cache ControlFrontend DevelopmentHTTP headers
0 likes · 10 min read

This article explains how browsers cache resources, the role of HTTP response headers such as Expires, Cache‑Control, ETag and Last‑Modified, and how conditional requests and different refresh actions affect caching behavior to improve web performance.
Browser CacheCache ControlETag
0 likes · 12 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

This guide walks through typical Nginx problems—from socket permission errors and load‑balancing weight settings to cache‑control headers, gzip configuration, high‑concurrency tuning, and debugging directives—offering step‑by‑step fixes and configuration examples for Linux environments.
Cache Controltroubleshooting
0 likes · 16 min read
