Skip to content

ts-ec refresh for returning readers without breaking cacheability #1595

Open

Description

@aram356

Summary

ts-ec refresh for returning readers without breaking cacheability.

Part of #1558, server-side identity on every adapter. Plan ID T16, planned in an any row (no fixed wave; starts when its decision or reviewer is ready; after the MVP); priority P3, size S. Design: spec; order and dependencies: plan.

Requirements

WB-2 ts-ec lifetime

ts-ec keeps Domain=.<publisher>; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=31536000. Whether returning readers get a refresh is DEC-13.

WB-5 Cacheable pages

An unchanged cookie gets no Set-Cookie, and a response carrying Set-Cookie is not stored in a shared cache.

Current state

What the code does today, from the design's survey at the revisions it names:

Acceptance criteria

  • WB-2: Once DEC-13 is decided, its rule holds and a returning reader whose cookie needs no refresh gets no Set-Cookie
  • WB-5: A returning reader with unchanged cookies gets no Set-Cookie, and the template-cache deny list uses the configured SharedID name

Dependencies

Blocked by:

Waits on these decisions:

  • DEC-13 ts-ec refresh (open). for returning readers. Blocks T16.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions