Fpcache
An in-memory caching manager for FreePascal
Install / Use
/learn @MFernstrom/FpcacheREADME
<img src="fpcache_logo.png" />
FPCache is a simple in-memory cache manager for FreePascal with optional data lifespan.
Usage
<pre> uses fpcache; var cache: TCache; begin cache := TCache.Create // Put my name into the cache cache.put('name', 'Marcus'); // Get and WriteLn my name WriteLn(cache.getStr('name')); // Remove my name from the cache cache.delete('name'); // Put my age with a data lifespan of 10 seconds cache.put('age', 32, 10000); // Get and print my age WriteLn(cache.getInt('age')); // Blank string WriteLn(cache.getStr('nope')); // Integer 0 WriteLn(cache.getInt('nope')); // throwOnMissing is optional and defaults to false cache.throwOnMissing := true; // Now we get an exception WriteLn(cache.getStr('nope')); // Don't forget to free the cache when you're done cache.free; end; </pre>Related Skills
node-connect
335.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
