Exmcached Session
Ⓜ️ Session store for expressjs with memcached.
Installation
$ npm install --save exmcached-session
Example
var express = ;var session = ;var cookieParser = ;var http = ;var app = ;var MemcachedStore = session; app;app; app; http;
Options
hosts
: Memcached servers locations, this is a string.prefix
: An optional prefix for each memcache key, in case you are sharing your memcached servers with something generating its own keys.- ... Rest of given option will be passed directly to the memjs constructor.
For details see memjs.
Contribution
This repo is modified from https://github.com/balor/connect-memcached. And that repo seems not maintained anymore (last version was published 2 years ago). So I created this repo.
You're welcome to make pull requests!
「雖然我覺得不怎麼可能有人會關注我」