Skip to content

🎥 Make videos programmatically with React

`remotion`: Don't store `OffthreadVideo` frames in cache

Jonny Burger5eab60d30e5d
diff --git a/packages/core/src/video/OffthreadVideoForRendering.tsx b/packages/core/src/video/OffthreadVideoForRendering.tsx
index cfd78c8657..e37b4f79bb 100644
--- a/packages/core/src/video/OffthreadVideoForRendering.tsx
+++ b/packages/core/src/video/OffthreadVideoForRendering.tsx
@@ -181,6 +181,7 @@ export const OffthreadVideoForRendering: React.FC<OffthreadVideoProps> = ({
try {
const res = await fetch(actualSrc, {
signal: controller.signal,
+ cache: 'no-store',
});
if (res.status !== 200) {
if (res.status === 500) {