Discussions

Ask a Question
Back to all

Cache strategy for very short generated MP4 files

I am evaluating Mlytics for a workflow that produces user-specific MP4 files in 5, 10, or 15 second lengths. Each render gets an immutable URL, but the first request may come from a different region than later shares.

The reference case is this two-photo AI video workflow. The finished file is small, yet playback should start quickly on mobile connections.

Would you recommend caching the full MP4 on the first request, or relying on byte-range caching for this size of asset? I am also curious whether query-string versioning or a content hash in the path is the safer cache-key pattern when a user regenerates a clip.