ring-middleware-force-reload
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A ring middleware that forces the reloading of a set of namespaces each request
# ring-middleware-force-reload

An extremely simple Ring middleware that forces a reload of given namespaces prior to every request. Based on the old behavior of ring.middleware.wrap-reload prior to [https://github.com/mmcgrana/ring/commit/f39e24da7e97dd7354f47c16f160322cca35986d#ring-devel/src/ring/middleware/reload.clj](f39e24da7). Intended primarily to force reloading of cached, non-Clojure assets such as Enlive templates.

## Usage

```
(defroutes my-routes
  ...)

(def app
  (wrap-force-reload my-routes ['myapp.namespace]))
```

## License

Distributed under the Eclipse Public License, the same as Clojure.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。