Mercurial > prosody-modules
comparison mod_presence_cache/README.markdown @ 1959:65beed3ac500
mod_presence_cache/README: Try to discourage full stanza caching since it is experimental
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 10 Dec 2015 17:13:12 +0100 |
parents | 9d0c33ebbcc5 |
children | 39d958f4a0c3 |
comparison
equal
deleted
inserted
replaced
1958:eb515fbac198 | 1959:65beed3ac500 |
---|---|
12 Note that in its current form, the number of presence stanzas sent to a | 12 Note that in its current form, the number of presence stanzas sent to a |
13 client is doubled, as the client would get both the cached stanzas and | 13 client is doubled, as the client would get both the cached stanzas and |
14 replies to presence probes. Also see [mod\_throttle\_presence]. | 14 replies to presence probes. Also see [mod\_throttle\_presence]. |
15 | 15 |
16 By default, only binary (online or offline) state is stored. It can | 16 By default, only binary (online or offline) state is stored. It can |
17 optionally store the full presence but this requires much more memory. | 17 optionally store the full presence but this requires much more memory |
18 and bandwidth. | |
18 | 19 |
19 Configuration | 20 Configuration |
20 ============= | 21 ============= |
21 | 22 |
22 Just enable the module. | 23 Just enable the module. |
27 } | 28 } |
28 | 29 |
29 Advanced configuration | 30 Advanced configuration |
30 ====================== | 31 ====================== |
31 | 32 |
32 To enable full stanza caching: | 33 To enable *experimental* full stanza caching: |
33 | 34 |
34 presence_cache_full = false | 35 presence_cache_full = false |
36 | |
37 This will usually double the presence data sent to clients, pending | |
38 support for deduplication. | |
35 | 39 |
36 TODO | 40 TODO |
37 ==== | 41 ==== |
38 | 42 |
39 - Deduplication, i.e don's send stanzas that are identical to the last | 43 - Deduplication, i.e don's send stanzas that are identical to the last |