Is there a simple way to test if a cache has any values stored?
I have a cache collection holding a number of IP addresses that are read on startup from a local DB. If the DB table is updated I can flush the cache of the old data with "opensips-cli -x mi cache_remove_chunk". I would then want to have a test in OpenSIPS that says that if the cache is empty, re-populate it from the DB. Is this possible?
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
