response@0.3.8
📦 remixView on GitHub →
🐛 1 fixes🔧 1 symbols
Summary
The compressResponse() function has been updated to include the Vary: Accept-Encoding header for identity responses. This change ensures that shared caches do not incorrectly serve uncompressed responses to clients that can handle compression.
🐛 Bug Fixes
- compressResponse() now adds Vary: Accept-Encoding to otherwise eligible identity responses, including requests that omit Accept-Encoding, so shared caches do not reuse an uncompressed response for compression-capable clients.