From b3725e2cf9070cd750bd025bea46da13e433a403 Mon Sep 17 00:00:00 2001
From: Sam Whited
Date: Thu, 27 Aug 2015 16:22:55 -0500
Subject: [PATCH] Add a use case to entity versioning
Also:
Minor typo and wording fixes
Fix broken example XML
More tabbing fixes
---
inbox/entityversioning.xml | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/inbox/entityversioning.xml b/inbox/entityversioning.xml
index 16dec0d4..45451591 100644
--- a/inbox/entityversioning.xml
+++ b/inbox/entityversioning.xml
@@ -50,12 +50,11 @@
This problem of "downloading the world" (downloading the entire roster
every time a session is initialized) was partially addressed by &xep0237;
which was later merged into &rfc6121; ยง2.6. While this solved the problem
- for the roster, it didn't account for other entities (eg. MUC
- disco#items). Furthermore, roster versioning requires that the server
- maintain a great deal of state (multiple versions of the roster) which can
- be difficult to implement in a large, distributed system. This XEP defines
- a method by which entities other than the roster can be versioned and
- cached.
+ for the roster, it didn't account for other entities (eg. disco items).
+ Furthermore, roster versioning requires that the server maintain a great
+ deal of state (multiple versions of the roster) which can be difficult to
+ implement in a large, distributed system. This XEP defines a method by
+ which entities other than the roster can be versioned and cached.
@@ -115,6 +114,11 @@
client can fetch the list, and then poll for changes at a later date
without re-requesting the entire list.
+
+ A client wishes to cache the features supported by servers of the
+ contacts in their roster since their disco items is not likely to
+ change often.
+
@@ -200,11 +204,11 @@
-
+
+ -
9ZFZXVP9
-
-
+
+
]]>
@@ -218,7 +222,7 @@
- -
XWE4MUUP
@@ -243,13 +247,13 @@
+ id='zb8q41fas6yn4'
+ to='hag66@shakespeare.lit/phone'
+ type='result'>
-
- VIZSVF0D
+ VIZSVF0D
@@ -346,7 +350,7 @@ anne@shakespeare.lit:VIZSVF0D,bill@shakespeare.lit:25P2A7H8
Version tokens SHOULD always be considered opaque to the client (eg. even
- if the version token is a derivable and consistant hash on the server side,
+ if the version token is a derivable and consistent hash on the server side,
clients should not need to know how the server is calculating the token).