{"id":13781385,"url":"https://github.com/thinkjs/think-cache-memcache","last_synced_at":"2025-04-10T19:37:14.290Z","repository":{"id":73609501,"uuid":"86900817","full_name":"thinkjs/think-cache-memcache","owner":"thinkjs","description":"Memcache adapter for cache for ThinkJS 3.x","archived":false,"fork":false,"pushed_at":"2021-07-02T00:18:04.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-19T05:48:26.429Z","etag":null,"topics":["memcache","think-adapter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/thinkjs.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":"2017-04-01T09:09:44.000Z","updated_at":"2021-07-02T00:17:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"e57aa9c5-7ff7-4b8d-8deb-694b801195c4","html_url":"https://github.com/thinkjs/think-cache-memcache","commit_stats":{"total_commits":20,"total_committers":4,"mean_commits":5.0,"dds":0.25,"last_synced_commit":"e27d6b7dfd449509588287f6d76637aa7e0c4fb9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-cache-memcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-cache-memcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-cache-memcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-cache-memcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkjs","download_url":"https://codeload.github.com/thinkjs/think-cache-memcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281415,"owners_count":21077423,"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":["memcache","think-adapter"],"created_at":"2024-08-03T18:01:25.484Z","updated_at":"2025-04-10T19:37:14.258Z","avatar_url":"https://github.com/thinkjs.png","language":"JavaScript","readme":"# think-cache-memcache\n[![Build Status](https://travis-ci.org/thinkjs/think-cache-memcache.svg?branch=master)](https://travis-ci.org/thinkjs/think-cache-memcache)\n[![Coverage Status](https://coveralls.io/repos/github/thinkjs/think-cache-memcache/badge.svg?branch=master)](https://coveralls.io/github/thinkjs/think-cache-memcache?branch=master)\n[![npm](https://img.shields.io/npm/v/think-cache-memcache.svg?style=flat-square)](https://www.npmjs.com/package/think-cache-memcache)\n\nUse memcache to cache data\n\n## Install\n\n```\nnpm install think-cache-memcache\n```\n\n\n## How to Usage\n\nedit config file `src/config/adapter.js`, add options:\n\n```js\nconst memcacheCache = require('think-cache-memcache');\nexports.cache = {\n  type: 'memcache',\n  common: {\n    timeout: 24 * 3600 * 1000 // millisecond, default timeout for function set\n  },\n  memcache: {\n    handle: memcacheCache,\n    hosts: ['127.0.0.1:11211'],\n    maxValueSize: 1048576,\n    netTimeout: 5000,\n    reconnect: true\n  }\n}\n```\nmemcache config see at http://memcache-plus.com/\n","funding_links":[],"categories":["Adapters"],"sub_categories":["cache"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-cache-memcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkjs%2Fthink-cache-memcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-cache-memcache/lists"}