{"id":23158820,"url":"https://github.com/meronz/cachingdemo","last_synced_at":"2026-04-16T10:35:40.173Z","repository":{"id":62302368,"uuid":"559482752","full_name":"meronz/CachingDemo","owner":"meronz","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-30T08:56:00.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T18:47:18.229Z","etag":null,"topics":["dotnet","postgres","redis"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meronz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-30T08:55:58.000Z","updated_at":"2022-10-30T09:23:06.000Z","dependencies_parsed_at":"2022-10-30T10:00:38.539Z","dependency_job_id":null,"html_url":"https://github.com/meronz/CachingDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meronz/CachingDemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meronz%2FCachingDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meronz%2FCachingDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meronz%2FCachingDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meronz%2FCachingDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meronz","download_url":"https://codeload.github.com/meronz/CachingDemo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meronz%2FCachingDemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dotnet","postgres","redis"],"created_at":"2024-12-17T22:27:52.485Z","updated_at":"2026-04-16T10:35:40.155Z","avatar_url":"https://github.com/meronz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caching demo\n\nThis project shows the usage of [FusionCache](https://github.com/ZiggyCreatures/FusionCache) to speed up \nthe retrieval of data from a Postgres database.\n\n- ASP.NET Core 6.0\n- Entity Framework Core 6.0\n- FusionCache\n\n## Quickstart\n\n1. First install Postgres and Redis.\n    ```sh\n    docker-compose up\n    ```\n\n2. Run the demo\n    ```sh\n    cd CachingDemo\n    dotnet run\n    ```\n\n## How it works\nThis project exposes a simple API to create and fetch `User` objects. Data is persisted in Postgres, but to reduce\nlatency when serving these requests, it is also cached in two layers: First in-memory, and second on Redis.\nRedis actually serves two purposes here, both as a cache and as synchronization Backplane. More info about that\non the FusionCache docs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeronz%2Fcachingdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeronz%2Fcachingdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeronz%2Fcachingdemo/lists"}