How to Configure Cache-Control Headers for Different Asset Types
1d ago · 6 min read · The correct Cache-Control header for a JavaScript bundle is wrong for an HTML page. The correct header for an API response serving public data is wrong for one serving private user data. HTTP caching works by asset type, not by blanket rules, and eve...
Join discussion