Objects are not being cached when an HTTP Vary Header is present

book

Article ID: 166746

calendar_today

Updated On:

Products

Asset Management Solution SG-600 SG-810 SG-9000 SG-900 SG-S500 SG-S400 SWG VA-100

Issue/Introduction

Object that should be cacheable is not being cached

Object contains an HTTP Vary header 

Resolution

The presence of a "Vary" header with a value anything other than "Accept-encoding" will make the response non-cacheable regardless of other cache-control headers that might be present.