Skip to content
Tagged articles

Last-Modified

5 articles · Page 1 of 1
Ops Development & AI Practice
Ops Development & AI Practice
Oct 13, 2026 · Backend Development

nginx sub_filter Strips Cache Validators: Why SPA Entries Need Explicit Cache-Control

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
nginx sub_filter Strips Cache Validators: Why SPA Entries Need Explicit Cache-Control
Liangxu Linux
Liangxu Linux
May 20, 2023 · Frontend Development

Mastering HTTP Caching: How Browsers Store and Validate Resources

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
Mastering HTTP Caching: How Browsers Store and Validate Resources
21CTO
21CTO
May 1, 2016 · Backend Development

Mastering HTTP Caching: How Browsers Use Headers to Optimize Web Performance

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
Mastering HTTP Caching: How Browsers Use Headers to Optimize Web Performance
21CTO
21CTO
Jan 6, 2016 · Fundamentals

Master HTTP Caching: Using Last-Modified, ETag, Expires, and Cache-Control

This article explains how to effectively reduce server load and bandwidth by leveraging HTTP caching mechanisms such as Last-Modified, ETag, Expires, and Cache-Control headers, including practical servlet code examples and browser behavior details.

Cache-ControlCachingETag
0 likes · 5 min read
Master HTTP Caching: Using Last-Modified, ETag, Expires, and Cache-Control