Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(replicache,zero-client): add support for disabling client group …
…forking and use in zero-client (#1887) zero-cache does not currently work with client-group forking as CVR data is keyed by client group id. Eventually zero-cache could support client group forking if it did roughly the following: - Client Group ABC provides cookie 'DEF @ version'. - We check that the authenticated userID of ABC matches that of DEF. - Initialize the new ABC CVR with the rows from DEF. - Set the new ABC CVR's client set to empty set (rather than the set of client's for DEF) - Set the new ABC CVR's desired query map to empty (these should all become evictable queries) - Then proceed with the rest of the initConnectionMessage logic. See https://rocicorp.slack.com/archives/C013XFG80JC/p1716339090352989 for more context.
- Loading branch information