Packages

A wrapper around Erlang's depcache, an in-memory caching server. depcache bases its caching around ETS but can also switch to using the in-process dictionary for maintaining a process-local cache. Convenient functions are provided for getting/setting cache values, with ttl and cache key dependen...

Current section

Files

Jump to
xepcache README.md
Raw

README.md

# XepCache
[![Build Status](https://travis-ci.org/arjan/xepcache.svg?branch=master)](https://travis-ci.org/arjan/xepcache)
A wrapper around Erlang's
[depcache](https://github.com/zotonic/depcache), an in-memory caching
server based on ETS.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add xepcache to your list of dependencies in `mix.exs`:
def deps do
[{:xepcache, "~> 0.0.1"}]
end
2. Ensure xepcache is started before your application:
def application do
[applications: [:xepcache]]
end