Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ladjs/koa-cache-responses
Caching middleware for Koa using koa-cash and route pattern-based matching with path-to-regexp. Made for Lad.
https://github.com/ladjs/koa-cache-responses
alternative assets aws caching cdn cloudfront content hash javascript koa memory middleware node nodejs redis s3 serve server
Last synced: 3 months ago
JSON representation
Caching middleware for Koa using koa-cash and route pattern-based matching with path-to-regexp. Made for Lad.
- Host: GitHub
- URL: https://github.com/ladjs/koa-cache-responses
- Owner: ladjs
- License: mit
- Created: 2020-05-20T01:08:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T03:40:27.000Z (5 months ago)
- Last Synced: 2024-09-24T06:25:18.084Z (4 months ago)
- Topics: alternative, assets, aws, caching, cdn, cloudfront, content, hash, javascript, koa, memory, middleware, node, nodejs, redis, s3, serve, server
- Language: JavaScript
- Homepage: https://lad.js.org
- Size: 422 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [**@ladjs/koa-cache-responses**](https://github.com/ladjs/koa-cache-responses)
[![build status](https://img.shields.io/travis/com/ladjs/koa-cache-responses.svg)](https://travis-ci.com/ladjs/koa-cache-responses)
[![code coverage](https://img.shields.io/codecov/c/github/ladjs/koa-cache-responses.svg)](https://codecov.io/gh/ladjs/koa-cache-responses)
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
[![license](https://img.shields.io/github/license/ladjs/koa-cache-responses.svg)](LICENSE)
[![npm downloads](https://img.shields.io/npm/dt/@ladjs/koa-cache-responses.svg)](https://npm.im/@ladjs/koa-cache-responses)> Caching middleware for Koa using `koa-cash` and route pattern-based matching with `path-to-regexp`. Made for [Lad](https://lad.js.org).
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)## Install
[npm][]:
```sh
npm install @ladjs/koa-cache-responses
```[yarn][]:
```sh
yarn add @ladjs/koa-cache-responses
```## Usage
See [@ladjs/web](https://github.com/ladjs/web) integration.
## Contributors
| Name | Website |
| -------------- | -------------------------- |
| **Nick Baugh** | |## License
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)
##
[npm]: https://www.npmjs.com/
[yarn]: https://yarnpkg.com/