/reserve-cache

cache handler for REserve

Primary LanguageJavaScriptMIT LicenseMIT

REserve/cache

cache handler for REserve.

⚠⚠⚠ The project has been moved under REserve monorepo.

Travis-CI Coverage Status Maintainability Package Quality Known Vulnerabilities dependencies Status devDependencies Status reserve reserve install size MIT License

Usage

{
  "handlers": {
    "cache": "reserve-cache"
  },
  "mappings": [{
    "match": "\\/cache\\/(.*)",
    "cache": "$1"
  }]
}

Supported verbs

GET

Retrieves a value, returns 204 if no value.

POST

Stores or updates a value, returns 201 if new value.

DELETE

Deletes a value.