iachat/spec/models/concerns
Shivam Mishra 3ed80fa867
feat: expiry for cache keys [CW-3038] (#8793)
* feat: set cache keys for 3 days only

* feat: invalidate should set the latest timestamp

* refactor: cache_keys concern

* remove invalidate_cache method
* refactor reset to set to new value instead of delete
* ensure only one event is dispatched

* feat: set expiry to 24 hours

* chore: make expiry 48 hours

* feat: include destroy event

* feat: set expiry to 72 days

* fix: typo

* test: cache update after `touch`

* test: update cache keys

* refactor: remove after_touch, it's already handled in commit
2024-01-29 15:27:26 +05:30
..
access_tokenable_shared.rb chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
assignment_handler_shared.rb feat(perf): Cache labels on the conversation model (#8527) 2023-12-11 18:27:55 -08:00
auto_assignment_handler_shared.rb fix: Adds assignee as a participant during auto-assign (#6789) 2023-03-30 11:39:53 +05:30
avatarable_shared.rb chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
cache_keys_spec.rb feat: expiry for cache keys [CW-3038] (#8793) 2024-01-29 15:27:26 +05:30
json_schema_validator_spec.rb fix: validate template_params for WhatsApp (#6881) 2023-04-25 16:50:36 +05:30
liquidable_shared.rb feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
out_of_offisable_shared.rb chore: Limit objects returned by conversation API (#2721) 2021-07-31 21:19:42 +05:30
reauthorizable_shared.rb chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00