popsicle-no-cache

Prevent caching of Popsicle HTTP requests

Usage no npm install needed!

<script type="module">
  import popsicleNoCache from 'https://cdn.skypack.dev/popsicle-no-cache';
</script>

README

Popsicle No Cache

NPM version NPM downloads Build status Test coverage

Prevent caching of HTTP requests.

Installation

npm install popsicle-no-cache --save

Usage

import { middleware, toFetch } from "popsicle";
import { Request } from "popsicle/dist/node";
import { noCache } from "popsicle-no-cache";

const fetch = toFetch([noCache(), middleware], Request);

License

MIT