Mercurial > prosody-modules
comparison mod_presence_cache/README.markdown @ 2146:39d958f4a0c3
mod_presence_cache: Remove caching of full presence
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 Apr 2016 15:15:56 +0200 |
parents | 65beed3ac500 |
children | ed2bb50d4f91 |
comparison
equal
deleted
inserted
replaced
2145:f965f86a5cad | 2146:39d958f4a0c3 |
---|---|
11 | 11 |
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 | |
17 optionally store the full presence but this requires much more memory | |
18 and bandwidth. | |
19 | |
20 Configuration | 16 Configuration |
21 ============= | 17 ============= |
22 | 18 |
23 Just enable the module. | 19 Just enable the module. |
24 | 20 |
28 } | 24 } |
29 | 25 |
30 Advanced configuration | 26 Advanced configuration |
31 ====================== | 27 ====================== |
32 | 28 |
33 To enable *experimental* full stanza caching: | |
34 | 29 |
35 presence_cache_full = false | |
36 | 30 |
37 This will usually double the presence data sent to clients, pending | |
38 support for deduplication. | |
39 | 31 |
40 TODO | 32 TODO |
41 ==== | 33 ==== |
42 | 34 |
43 - Deduplication, i.e don's send stanzas that are identical to the last | 35 - Deduplication, i.e don's send stanzas that are identical to the last |