Commit Graph

5 Commits

Author SHA1 Message Date
8e9b070d46 add explicit width to img and fix render repetition bug when
markup.start is 0
2021-11-02 22:44:35 +05:30
af3c43dbf5 Cache post data using sled
Each post fetch was taking 800ms TAT, so I'm using sled to fetch and
cache post data. This reduced TAT down to 2ms.

However, this could cause storage issues. I must design some sort of
resource manager to clean up cache.
2021-11-02 15:30:25 +05:30
58f7ebb91e rm debug statement 2021-11-02 12:06:33 +05:30
260dcb97e1 fix repetition bug
when text contained markup data, unprocessed string was being printed
before all the markup had been processed. This caused a repetition bug.
2021-11-02 11:59:13 +05:30
f0853a4a64 implement rendering on medium-formatted data 2021-10-31 22:26:42 +05:30