view mod_presence_cache/README.markdown @ 3943:f5e6368a1c39

mod_cloud_notify: Cleanup code and drop support for prosody 0.9 This removes some legacy stuff that was needed for prosody 0.9 We now use util.stanza:find instead of our own patched version to be more mainstream The unneeded module unloading code was removed, too
author tmolitor <thilo@eightysoft.de>
date Wed, 11 Mar 2020 20:00:50 +0100
parents ed2bb50d4f91
children
line wrap: on
line source

---
summary: Cache presence from remote users
...

Introduction
============

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.

Configuration
=============

Just enable the module.

    modules_enabled = {
        -- more modules
        "presence_cache";
    }

Advanced configuration
======================

The size of the cache is tuneable:

    presence_cache_size = 99

Compatibility
=============

Requires 0.10 or later