Vary based on a cookie

Return different objects based on the presence of a cookie.

VCL

Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):