lock_and_cache
MITMost caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
68
Security score
0 known advisories in v6.0.0-beta.5
OpenSSF Scorecard 2.8/10
Weekly downloads
106
Unpacked size
50.9 kB
Dependencies
3
Last publish
5 years ago
Security advisories
No known vulnerabilities affect v6.0.0-beta.5.
Downloads — last 30 days
245 total▲ 82.8% vs prior week
Jul 8Aug 6
OpenSSF ScorecardJul 27, 2026
- Dangerous-Workflow10
- Maintained0
- Token-Permissions0
- Pinned-Dependencies0
- Code-Review0
- Binary-Artifacts10
- CII-Best-Practices0
- Security-Policy0
- Fuzzing0
- License10
- Branch-Protection0
- SAST0