ChatExchange icon indicating copy to clipboard operation
ChatExchange copied to clipboard

Better caching strategy

Open Manishearth opened this issue 9 years ago • 3 comments

We currently cache messages in client https://github.com/Manishearth/ChatExchange/blob/master/chatexchange/client.py#L71

However, these are not updated on edits, and it's cached indefinitely. We should have:

  • [ ] A way to keep these up to date, perhaps by pinging the message object with new values on edits/stars
  • [ ] A way to clean the cache
  • [ ] A way to disable the cache

Manishearth avatar Sep 10 '14 13:09 Manishearth