Page MenuHomePhabricator

Consider adding X-Analytics subfield for 'has a session cookie'
Closed, ResolvedPublic


Recently @Joe was doing some digging on 'actual' cache hit rates of Restbase services by investigating webrequest logs.

Unfortunately there's not a definitive way to tell what subset of traffic against these (or anything else in webrequest) comes from logged-in users*. Seeing an X-Cache header with two passes probably indicates that, but I don't think that's guaranteed.

It seems like it would be useful to add this notion as another subfield of X-Analytics.

*: By "logged-in users" I mean the CDN's rather loose idea of having a Session|Token cookie

Event Timeline

Vgutierrez triaged this task as Medium priority.Oct 6 2022, 12:21 PM
Vgutierrez moved this task from Triage to In Progress on the Traffic board.

Change 839512 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] varnish: Add sessioncookie bit to X-Analytics

Change 839512 merged by Vgutierrez:

[operations/puppet@production] varnish: Add sessioncookie bit to X-Analytics

Vgutierrez claimed this task.
Vgutierrez added a subscriber: Vgutierrez.

CR merged and updated, thanks for choosing the traffic team CDN services ;P