mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Merge pull request #1142 from leighhalliday/master
Updating wording on cache expiry in README
This commit is contained in:
@@ -300,7 +300,7 @@ The cache support is optimized to use the cached object in multiple request. An
|
|||||||
|
|
||||||
**[NOTE] Every object is individually cached.**
|
**[NOTE] Every object is individually cached.**
|
||||||
|
|
||||||
**[NOTE] The cache is automatically expired after update an object but it's not deleted.**
|
**[NOTE] The cache is automatically expired after an object is updated, but it's not deleted.**
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
cache(options = nil) # options: ```{key, expires_in, compress, force, race_condition_ttl}```
|
cache(options = nil) # options: ```{key, expires_in, compress, force, race_condition_ttl}```
|
||||||
|
|||||||
Reference in New Issue
Block a user