html5 videos temporarily save to hard drive?

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
I've noticed that when playing Youtube videos through HTML5 in Firefox, it actually saves the video to the hard drive while streaming, and only deletes the temporary file(s) from the HD once I close down the browser.

Why doesn't it just store the video in RAM, since streaming is temporary?

I thought the HD might be some kind of fallback for when you run out of RAM, but it seems to save the videos to the HD all the time.

Is this normal? Does anyone else notice/experience this?

I've looked in about:config for "html5" and "video" and didn't see a setting to change this... is it hard coded to always save to HD even if you have plenty of RAM, or is my machine just crazy?



edit: ok, changing media.cache_size from 512000 to 0 seems to stop it...

edit2: found an old article describing the purpose of it (what it's doing).
 
Last edited: