{"id":22404972,"url":"https://github.com/mfernstrom/fpcache","last_synced_at":"2026-02-08T21:09:04.393Z","repository":{"id":92219027,"uuid":"160377827","full_name":"MFernstrom/fpcache","owner":"MFernstrom","description":"An in-memory caching manager for FreePascal","archived":false,"fork":false,"pushed_at":"2024-07-18T02:49:45.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T12:47:13.613Z","etag":null,"topics":["caching","fpc","freepascal","lazarus","performance"],"latest_commit_sha":null,"homepage":null,"language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MFernstrom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-04T15:22:22.000Z","updated_at":"2024-07-18T02:49:49.000Z","dependencies_parsed_at":"2023-06-08T00:45:27.182Z","dependency_job_id":null,"html_url":"https://github.com/MFernstrom/fpcache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MFernstrom/fpcache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFernstrom%2Ffpcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFernstrom%2Ffpcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFernstrom%2Ffpcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFernstrom%2Ffpcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MFernstrom","download_url":"https://codeload.github.com/MFernstrom/fpcache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFernstrom%2Ffpcache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270803526,"owners_count":24648687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caching","fpc","freepascal","lazarus","performance"],"created_at":"2024-12-05T10:16:13.358Z","updated_at":"2026-02-08T21:09:04.354Z","avatar_url":"https://github.com/MFernstrom.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"fpcache_logo.png\" /\u003e\n\nFPCache is a simple in-memory cache manager for FreePascal with optional data lifespan.\n\n## Usage\n\u003cpre\u003e\nuses fpcache;\n\nvar\n\tcache: TCache;\n\t\nbegin\n\tcache := TCache.Create\n\t\n\t// Put my name into the cache\n\tcache.put('name', 'Marcus');\n\t\n\t// Get and WriteLn my name\n\tWriteLn(cache.getStr('name'));\n\t\n\t// Remove my name from the cache\n\tcache.delete('name');\n\t\n\t// Put my age with a data lifespan of 10 seconds\n\tcache.put('age', 32, 10000);\n\t\n\t// Get and print my age\n\tWriteLn(cache.getInt('age'));\n\t\n\t// Blank string\n\tWriteLn(cache.getStr('nope'));\n\t\n\t// Integer 0\n\tWriteLn(cache.getInt('nope'));\n\t\n\t// throwOnMissing is optional and defaults to false\n\tcache.throwOnMissing := true;\n\t\n\t// Now we get an exception\n\tWriteLn(cache.getStr('nope'));\n\n\t// Don't forget to free the cache when you're done\n\tcache.free;\nend;\n\u003c/pre\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfernstrom%2Ffpcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfernstrom%2Ffpcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfernstrom%2Ffpcache/lists"}