HomePhabricator

Align mobile VCL much closer to text VCL

Authored by BBlack.

Description

Align mobile VCL much closer to text VCL

This includes several trivial re-arrangements of current mobile
VCL ordering, and/or inclusions of text-specific VCL that would
have no effect on mobile. It does *not* attempt to fix
misalignments directly related to CC headers or the true
functional desktop/mobile VCL diffs.

Even in cases where the new VCL is functionally-pointless in the
current mobile cluster, getting them aligned now reduces the
complexity/risk of the remaining work in merging the clusters.

Notable things:

  1. This turns on correct behavior and backend-routing for

X-Wikimedia-Debug/test.wikipedia.org and the security audit stuff
in labs.

  1. It adds use of the rendering backend for thumb_handler.php,

which mobile didn't have before. I don't know if mobile actually
refs that anyways, but it's either a no-op or a functional
improvement.

  1. Support for the RESTBase API path and backend-routing stuff
  2. Use of backend_random for the above and CentralAutoLogin (does

mobile even use that?)

  1. Adds the prevention/logging of accidental caching of Set-Cookie

responses.

  1. Adds text's 304-preventing for recently-logged-out users

Bug: T109286
Change-Id: I152dc9b398762e13612277bd859cc58c8a2752f9

Details

Committed
BBlackAug 31 2015, 9:25 PM
Parents
rOPUP57d16c17e9ec: updating nik everett's access
Branches
Unknown
Tags
Unknown
ChangeId
I152dc9b398762e13612277bd859cc58c8a2752f9