Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yetanalytics/ring-etag-middleware

A bold new etag middleware, for a bold new age
https://github.com/yetanalytics/ring-etag-middleware

Last synced: 8 days ago
JSON representation

A bold new etag middleware, for a bold new age

Awesome Lists containing this project

README

        

* ring-etag-middleware

[[https://travis-ci.org/yetanalytics/ring-etag-middleware.svg?branch=master]]
[[https://jarkeeper.com/yetanalytics/ring-etag-middleware/status.svg]]

Calculates etags for [[https://github.com/ring-clojure/ring][ring]] responses.

Heavily influenced by
[[https://clojars.org/org.clojars.jws/ring-etag-middleware][org.clojars.jws/ring-etag-middleware]]

** Usage

Add the following to your =project.clj=:

=[com.yetanalytics/ring-etag-middleware "0.1.0-SNAPSHOT"]=

In your handler,

=(require '[ring.middleware.etag :refer [wrap-etag]])=

And wrap your etags.

** License

Copyright © 2016 Yet Analytics, Inc.

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.