Skip to content

LOCALCACHE module

This module is an implementation of a local cache system designed as a hash table. It uses the Key-Value interface exported by OpenSIPS core.

None.

The following libraries or applications must be installed before running OpenSIPS with this module loaded:

  • none

The size of the hash table. This parameter will be used as the power of 2 when computing table size.

Default value is “9 (512)“.

Set cache_table_size parameter
...
modparam("cachedb_local", "cache_table_size", 10)
...

The time interval in seconds at which to go through all the records and delete the expired ones.

Default value is “600 (10 minutes)”.

Set cache_clean_period parameter
...
modparam("cachedb_local", "cache_clean_period", 1200)
...

The module does not export functions to be used in configuration script.

Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)

#NameDevScoreCommitsLines++Lines—
1.Vlad Paiu (@vladpaiu)266859687
2.Anca Vamanu14575065
3.Andrei Dragus104183182
4.Bogdan-Andrei Iancu (@bogdan-iancu)863341
5.Stefan Darius (@dariusstefan)53907
6.vladpaiu3135
7.Razvan Crainea (@razvancrainea)3123

(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)

(2) including any documentation-related commits, excluding merge commits

(3) ignoring whitespace edits, renamed files and auto-generated files

#NameCommit Activity
1.Stefan Darius (@dariusstefan)Jun 2026 - Jul 2026
2.Razvan Crainea (@razvancrainea)Jun 2026 - Jun 2026
3.vladpaiuJan 2014 - Jan 2014
4.Vlad Paiu (@vladpaiu)Oct 2011 - Feb 2012
5.Bogdan-Andrei Iancu (@bogdan-iancu)Jan 2009 - Aug 2010
6.Andrei DragusJul 2009 - Jul 2009
7.Anca VamanuJan 2009 - Mar 2009

(1) including any documentation-related commits, excluding merge commits

Last edited by: Razvan Crainea (@razvancrainea), Vlad Paiu (@vladpaiu), Bogdan-Andrei Iancu (@bogdan-iancu), Andrei Dragus, Anca Vamanu.

All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0