Pow.Store.Backend.EtsCache (Pow v1.0.25) View Source
GenServer based key value ETS cache store with auto expiration.
This module is not recommended for production, but mostly used as an example for how to build a cache. All data is stored in-memory, so cached values are not shared between machines.
:ttl- integer value in milliseconds for ttl of records. If this value is not provided, or is set to nil, the records will never expire.
:namespace- value to use for namespacing keys. Defaults to "cache".
:writes- set to
:asyncto do asynchronous writes. Defauts to