view mod_presence_cache/README.markdown @ 2147:ed2bb50d4f91

mod_presence_cache: Switch to using util.cache for limiting size of cache
author Kim Alvefur <>
date Fri, 01 Apr 2016 15:18:56 +0200
parents 39d958f4a0c3
line wrap: on
line source

summary: Cache presence from remote users


This module stores a timestamp of the latest presence received from
users contacts so that the client can see who is online faster when they
sign in, and won't have to wait for remote servers to reply.


Just enable the module.

    modules_enabled = {
        -- more modules

Advanced configuration

The size of the cache is tuneable:

    presence_cache_size = 99


Requires 0.10 or later