LOCALCACHE module
Admin Guide
Section titled “Admin Guide”Overview
Section titled “Overview”This module is an implementation of a local cache system designed as a hash table. It registers the three functions for storing, fetching and removing a value to the core memcache management interface.
Dependencies
Section titled “Dependencies”OpenSIPS Modules
Section titled “OpenSIPS Modules”None.
External Libraries or Applications
Section titled “External Libraries or Applications”The following libraries or applications must be installed before running OpenSIPS with this module loaded:
- none
Exported Parameters
Section titled “Exported Parameters”cache_table_size (int)
Section titled “cache_table_size (int)”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)“.
...modparam("localcache", "cache_table_size", 10)...cache_clean_period (int)
Section titled “cache_clean_period (int)”The time interval in seconds at which to go through all the records and delete the expired ones.
Default value is “600 (10 minutes)”.
...modparam("localcache", "cache_clean_period", 1200)...Exported Functions
Section titled “Exported Functions”The module does not export functions to be used in configuration script.
Contributors
Section titled “Contributors”By Commit Statistics
Section titled “By Commit Statistics”Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
| # | Name | DevScore | Commits | Lines++ | Lines— |
|---|---|---|---|---|---|
| 1. | Anca Vamanu | 14 | 5 | 750 | 65 |
| 2. | Bogdan-Andrei Iancu (@bogdan-iancu) | 6 | 4 | 31 | 37 |
| 3. | Stefan Darius (@dariusstefan) | 5 | 3 | 92 | 8 |
| 4. | Razvan Crainea (@razvancrainea) | 3 | 1 | 2 | 3 |
(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
By Commit Activity
Section titled “By Commit Activity”| # | Name | Commit Activity |
|---|---|---|
| 1. | Stefan Darius (@dariusstefan) | Jun 2026 - Jul 2026 |
| 2. | Razvan Crainea (@razvancrainea) | Jun 2026 - Jun 2026 |
| 3. | Bogdan-Andrei Iancu (@bogdan-iancu) | Jan 2009 - Aug 2010 |
| 4. | Anca Vamanu | Jan 2009 - Mar 2009 |
(1) including any documentation-related commits, excluding merge commits
Documentation
Section titled “Documentation”Contributors
Section titled “Contributors”Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei Iancu (@bogdan-iancu), Anca Vamanu.
License
Section titled “License”All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0