Skip to content

Commit

Permalink
chore: README update
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK committed Aug 23, 2024
1 parent 278aac9 commit d07af24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ end
Documentation can be found at <https://hexdocs.pm/request_cache_plug>.

### Config
This is the default config, it can all be changed
This is the default config, it can all be changed but without any configuration setup this will be used:
```elixir
config :request_cache_plug,
enabled?: true,
Expand Down Expand Up @@ -113,8 +113,6 @@ end
You are responsible for starting the cache, including ConCacheStore, so if you're planning to use it make sure
you add `RequestCache.ConCacheStore` to the application.ex list of children

***Specifying the module per function is currently not fully implemented, check back soon for updates***

We can also override the module for a particular request by passing the option to our graphql middleware or
our `&RequestCache.store/2` function as `[ttl: 123, cache: MyCacheModule]`

Expand Down

0 comments on commit d07af24

Please sign in to comment.