CacheDecorator

Elixir CIHex.pm

CacheDecorator is an Elixir library that provides an easy way to add caching behavior to your module functions through compile-time decorators. By using @cache and @invalidate attributes, you can automatically cache function results and invalidate cache entries with minimal boilerplate.

Installation

Add the dependency to your mix.exs:

def deps do
  [
    {:cache_decorator, "~> 0.2.0"}
  ]
end

Usage

See documentation for usage examples

License

This project is licensed under the MIT License.