ChatExchange
ChatExchange copied to clipboard
Better caching strategy
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