{"id":17405052,"url":"https://github.com/jongpie/nebulacachemanager","last_synced_at":"2026-02-01T21:33:06.167Z","repository":{"id":98193653,"uuid":"580946796","full_name":"jongpie/NebulaCacheManager","owner":"jongpie","description":"A flexible cache management system for Salesforce Apex developers. Built to be scalable \u0026 configurable.","archived":false,"fork":false,"pushed_at":"2026-01-25T23:07:52.000Z","size":150515,"stargazers_count":32,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-26T14:39:49.338Z","etag":null,"topics":["apex","caching","salesforce","salesforce-admins","salesforce-cache","salesforce-developers"],"latest_commit_sha":null,"homepage":"","language":"Apex","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/jongpie.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-21T21:31:23.000Z","updated_at":"2025-12-05T20:59:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f2f7cf2-782e-44db-90c7-349645e0a773","html_url":"https://github.com/jongpie/NebulaCacheManager","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jongpie/NebulaCacheManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongpie%2FNebulaCacheManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongpie%2FNebulaCacheManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongpie%2FNebulaCacheManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongpie%2FNebulaCacheManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongpie","download_url":"https://codeload.github.com/jongpie/NebulaCacheManager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongpie%2FNebulaCacheManager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28991746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T20:57:35.821Z","status":"ssl_error","status_checked_at":"2026-02-01T20:57:29.580Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apex","caching","salesforce","salesforce-admins","salesforce-cache","salesforce-developers"],"created_at":"2024-10-16T20:22:43.685Z","updated_at":"2026-02-01T21:33:06.144Z","avatar_url":"https://github.com/jongpie.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nebula Cache Manager\n\nA flexible cache management system for Salesforce Apex developers. Built to be scalable \u0026 configurable.\n\nLearn more about the history \u0026 implementation of this repo in [the Joys of Apex article 'Iteratively Building a Flexible Caching System for Apex'](https://www.jamessimone.net/blog/joys-of-apex/iteratively-building-a-flexible-caching-system/)\n\n## Unlocked Package - `Nebula` Namespace - v1.0.2\n\n[![Install Unlocked Package (Nebula namespace) in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015nCfQAI)\n[![Install Unlocked Package (Nebula namespace) in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015nCfQAI)\n\n## Unlocked Package - No Namespace - v1.0.2\n\n[![Install Unlocked Package (no namespace) in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015nCaQAI)\n[![Install Unlocked Package (no namespace) in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015nCaQAI)\n\n---\n\n## Cache Manager for Apex: Quick Start\n\nFor Apex developers, the `CacheManager` class has several methods that can be used to cache data in 1 of the 3 supported cache types - transaction, organization platform cache, and session platform cache. Each cache type implements the interface `CacheManager.Cacheable` - regardless of which cache type you choose, the way you interact with each cache type is consistent.\n\n```java\n// This will cache a Map\u003cString, Group\u003e that contains all queues in the current org (if the data has not been cached)\n// or it will return the cached version of the data (if the data has previously been cached)\npublic static Map\u003cString, Group\u003e getQueues() {\n    String cacheKey = 'queues';\n    Map\u003cString, Group\u003e queueDeveloperNameToQueueGroup;\n    if (CacheManager.getOrganization().contains(cacheKey)) {\n        queueDeveloperNameToQueueGroup = (Map\u003cString, Group\u003e) CacheManager.getOrganization().get(cacheKey);\n    } else {\n        queueDeveloperNameToQueueGroup = new Map\u003cString, Group\u003e();\n        for (Group queueGroup : [SELECT Id, DeveloperName, Email, Name FROM Group WHERE Type = 'Queue']) {\n            queueDeveloperNameToQueueGroup.put(queueGroup.DeveloperName, queueGroup);\n        }\n        CacheManager.getOrganization().put(cacheKey, queueDeveloperNameToQueueGroup);\n    }\n    return queueDeveloperNameToQueueGroup;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongpie%2Fnebulacachemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongpie%2Fnebulacachemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongpie%2Fnebulacachemanager/lists"}