{"id":16746894,"url":"https://github.com/sdesalas/cache-middleware-express","last_synced_at":"2025-03-16T02:21:15.490Z","repository":{"id":57677446,"uuid":"489809141","full_name":"sdesalas/cache-middleware-express","owner":"sdesalas","description":"A caching middleware for express","archived":false,"fork":false,"pushed_at":"2022-05-08T00:36:47.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-20T07:31:48.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sdesalas.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}},"created_at":"2022-05-08T00:17:13.000Z","updated_at":"2023-03-04T05:58:34.000Z","dependencies_parsed_at":"2022-09-10T17:20:35.166Z","dependency_job_id":null,"html_url":"https://github.com/sdesalas/cache-middleware-express","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdesalas%2Fcache-middleware-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdesalas%2Fcache-middleware-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdesalas%2Fcache-middleware-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdesalas%2Fcache-middleware-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdesalas","download_url":"https://codeload.github.com/sdesalas/cache-middleware-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814912,"owners_count":20352064,"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","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":[],"created_at":"2024-10-13T02:08:36.389Z","updated_at":"2025-03-16T02:21:15.178Z","avatar_url":"https://github.com/sdesalas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cache-middleware-express\n\nA memory caching middleware for express. \n\nUsage\n--------------\n\n```javascript\nconst express = require('express');\nconst cache = require('cache-middleware-express');\n\nconst app = express();\n\n// Cache single route for 30 seconds\napp.get('/some/api/url', cache(30), (req, res) =\u003e ...)\n\n// Cache single route for an hour\napp.get('/some/api/url', cache(60*60), (req, res) =\u003e ...)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdesalas%2Fcache-middleware-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdesalas%2Fcache-middleware-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdesalas%2Fcache-middleware-express/lists"}