feat/add-thumbnail-caching #3
Reference in New Issue
Block a user
Delete Branch "priyanshu_bharti/vthumbs:feat/add-thumbnail-caching"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Added in-memory caching to the
/thumbnailendpoint so repeated requests for the same video URL do not re-runffmpeg.What changed
node-cachewith a 1 hour TTLurlquery parameterffmpegand stored it in cache@ffmpeg-installer/ffmpegContent-TypeandCache-ControlheadersVerification
/healthreturns200 OK/thumbnailreturns a JPEG responseNotes
close #2
a0ec11f294to5457244d74Perfect, thanks!