mirror of https://github.com/zulip/zulip.git
df93a99b50
Before this change, we populated two cache entries for each message that we sent. The entries were largely redundant, with the only difference being whether we sent the content as raw markdown or as the rendered HTML. This commit makes it so we only have one cache entry per message, and it includes both content and rendered_content. One legacy source on confusion here is that `content` changes meaning when you're on the front end. Here is the situation going forward: database: content = raw rendered_contented = rendered cache entry: content = raw rendered_contented = rendered payload for the frontend: content = raw (for apply_markdown=False) content = rendered (for apply_markdown=True) |
||
---|---|---|
.. | ||
commands | ||
data | ||
__init__.py |