13 Commits

Author SHA1 Message Date
zyachel
c610ef4d1b fix(media proxy): fix 304 response code with body error
was accidently sending a 304 with body. introduced in c53c88d
2023-06-03 22:20:56 +05:30
zyachel
c53c88db9b feat(cache): implement caching of routes 2023-05-21 18:15:03 +05:30
zyachel
505ff4d839 refactor: replace relative paths with absolute ones in import statements 2023-01-28 22:09:27 +05:30
zyachel
a32785ce00 fix: fix unseekable videos on webkit-based browsers
this commit fixes videos not being able to fast-forward/rewind for lack of http headers and 206
status code

fix https://github.com/zyachel/libremdb/issues/26
2023-01-14 16:36:20 +05:30
zyachel
5fd0d92187 fix(redis): fix logs being polluted when redis is disabled
also used streaming when redis is disabled for faster response.
2022-11-13 17:29:47 +05:30
httpjamesm
7a717aa212 feat: make redis cache optional 2022-11-12 10:57:56 -05:00
httpjamesm
a410bc4264 refactor: use zyachel's code 2022-11-12 10:56:51 -05:00
httpjamesm
720f2b6acb feat: IP ratelimit for media proxy 2022-10-31 18:05:19 -04:00
httpjamesm
9bce8a2dd5 fix: bypass response limit for media proxy endpoint 2022-10-31 17:46:17 -04:00
httpjamesm
1983f6b1fb feat: proxy videos and add more descriptive error messages 2022-10-31 17:45:14 -04:00
httpjamesm
dba2ba5aa4 feat: fetch images from media proxy on frontend 2022-10-31 17:37:36 -04:00
httpjamesm
2c8d138cbd feat: cache media proxy data in redis for 30 mins 2022-10-31 17:28:18 -04:00
httpjamesm
59a314b2bd feat: media proxy for anonymous loads 2022-10-31 17:04:26 -04:00