[squid-users] [PATCH] Key header support in ESI responses and old ESI Vary bug fixed.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 21 Mar 2013 16:14:53 +1300

The Key: header being proposed for standardization replaces and extends
the Vary header to provide more fine-grained variant selection by caches.

The attached patch adds the Key: header on Squid generated ESI responses
so that any receiving clients which support the new header are able to
use it for handling our pages. It also fixes the Vary header output in
the same situations to be properly comma-delimited.

Due to the complexity of identifying which values are actually
considered we cannot at this stage emit any Key flags to narrow down the
caching choices. That is marked as a TODO if anyone cares enough to
implement. The fact that this code had such a major Vary: bug and nobody
noticed for ~10 years indicates it is probably not worth it - although
it could also indicate that people who *are* using ESI simply did not
notice the high MISS rate it would cause.

Amos

Received on Thu Mar 21 2013 - 03:15:01 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 21 2013 - 12:00:04 MDT