Notable Pseudocode Mashups

    descript2-memcached

    2.0.1 • Public • Published

    Build Status NPM version

    descript2-memcached

    Usage

    const de = require('descript2');
    const deMemcached = require('descript2-memcached');
    
    const context = new de.Context(req, res, {
        cache: new deMemcached(myCacheConfig)  
    });
    

    Config

    {
        servers: 'my-memcached-server:9000'// memcached servers @see https://github.com/3rd-Eden/memcached#options
        defaultKeyTTL: 60 * 60 * 24, // key ttl in seconds
        generation: 1, // increment generation to invalidate all key across breaking changes releases
        readTimeout: 100, // read timeout in milliseconds,
        memcachedOptions: {}, // @see https://github.com/3rd-Eden/memcached#options
    }
    

    Install

    npm i descript2-memcached

    DownloadsWeekly Downloads

    2

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    12.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • doochik