Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcf/ring-cache-buster
Ring middleware that tells the world to cache nothing
https://github.com/jcf/ring-cache-buster
Last synced: 1 day ago
JSON representation
Ring middleware that tells the world to cache nothing
- Host: GitHub
- URL: https://github.com/jcf/ring-cache-buster
- Owner: jcf
- License: mit
- Created: 2014-09-30T10:26:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-30T10:45:07.000Z (about 10 years ago)
- Last Synced: 2024-10-14T03:37:22.362Z (about 1 month ago)
- Language: Clojure
- Size: 152 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ring-Cache-Buster
[![Build Status](https://travis-ci.org/listora/ring-cache-buster.svg?branch=master)](https://travis-ci.org/listora/ring-cache-buster)
Ring middleware for preventing caching.
This middleware adds a [`Cache-Control`][] header to all wrapped responses that
instruct others to never cache the generated response. This affects both edge
caches and browser caches.## Installation
Add the following dependency to your `project.clj`:
[listora/ring-cache-buster "0.2.0"]
## License
Copyright © 2014 Listora
Released under the MIT license, same as Ring.
[`Cache-Control`]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html