Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shqear93 committed Nov 10, 2021
1 parent 5426ff1 commit 2a741be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,12 @@ Geocoder.configure(
units: :km,

# caching (see Caching section below for details):
# warning: `cache_prefix` is deprecated, use `cache_options` instead
cache: Redis.new,
cache_prefix: "..."

cache_options: {
expiration: 2.days, # Redis ttl
prefix: "..."
}
)
```

Expand Down

0 comments on commit 2a741be

Please sign in to comment.