Compare Edge and Origin Compression for an Owned Text Asset
A visitor-facing response can use a different encoding from the one the origin supplies. Compare the exact same text asset across the approved test paths.
Define a controlled asset and requests
Choose a representative CSS or text file on staging. Record the asset revision, request Accept-Encoding values and the intended origin access route. Use provider-approved diagnostics rather than exposing a private origin.
Compare response evidence
Record Content-Encoding, Content-Type, transfer size and cache behavior for the edge and authorized origin checks. Compare the decoded text to confirm both paths delivered the same asset version.
Review provider behavior
Check the provider's rules for compression, asset eligibility and any applicable no-transform directive. An edge can recompress some responses based on client capabilities and configuration.
Retest the scoped change
Repeat the same client and asset sample after any approved adjustment. Document which response changed and verify actual content remains correct.
Related guides
- How to Compare HTTPS at the Edge and at the Origin
- How to Read CF-Cache-Status During a Cache Incident
Official references
Ferkesh Hosting. Last reviewed .
شكرًا على ملاحظاتك!