Commit Graph

19 Commits

Author SHA1 Message Date
Aravinth Manivannan 9c5342a053
light weight graphql query to fetch data to construct post URL 2021-11-25 12:35:47 +05:30
Aravinth Manivannan 32934c8353
get post from post id 2021-11-25 12:33:54 +05:30
Aravinth Manivannan 33f02c2ece
show post preview 2021-11-07 13:22:10 +05:30
Aravinth Manivannan 59d0dd3a84
fix gist link to github 2021-11-05 20:39:22 +05:30
Aravinth Manivannan 9bf500f764
render gists inline 2021-11-04 23:51:59 +05:30
Aravinth Manivannan 67a59fe38b
cache gists 2021-11-04 23:43:40 +05:30
Aravinth Manivannan 072e30cba3
proxy github gists and render them on posts 2021-11-04 19:36:37 +05:30
Aravinth Manivannan 7fdf255678
show reading time 2021-11-02 21:04:02 +05:30
Aravinth Manivannan 745d97acfd
versioned migrations for cache 2021-11-02 21:03:23 +05:30
Aravinth Manivannan 14c7225f82
proxy medium images 2021-11-02 17:56:39 +05:30
Aravinth Manivannan b7e3f7348c
create tmp cache directory if one is not specified 2021-11-02 16:03:10 +05:30
Aravinth Manivannan 817c997d4a
read cache path from config file 2021-11-02 15:47:55 +05:30
Aravinth Manivannan 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
Aravinth Manivannan c23943a796
add index page 2021-10-31 23:26:15 +05:30
Aravinth Manivannan a820a5233d
change config dir and env var prefix 2021-10-31 22:47:09 +05:30
Aravinth Manivannan f0853a4a64
implement rendering on medium-formatted data 2021-10-31 22:26:42 +05:30
Aravinth Manivannan 63bd10688c
reuse client object 2021-10-31 22:26:22 +05:30
Aravinth Manivannan adf85ea814
fetch details from medium endpoint 2021-10-31 15:13:04 +05:30
Aravinth Manivannan 4f922c725c
read settings and meta routes 2021-10-31 15:12:12 +05:30