[chromium-html5] Video cache on HTML5 and Chrome

6,161 views
Skip to first unread message

Fernando Carvalho

unread,
May 22, 2010, 3:16:51 PM5/22/10
to Chromium HTML5
Is there any way to cache videos on Chrome web browser?
Since the network traffic increase every day, a video cache, should
help to minimize this issue.
I think that a cache should be implemented on the browser, so users
that have bandwidth issues can what videos cached on the browser.
This would be a great feature, if it is possible.

I'm trying Youtube HTML5 and I've realized that it don't cache the
videos, so it is a bandwidth waste, since the data has been already
downloaded.

--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.

PhistucK

unread,
May 23, 2010, 1:11:03 AM5/23/10
to Fernando Carvalho, Chromium HTML5
There is a video (media) cache storage. Maybe it is not implemented very well, but it exists (though not with Incognito mode).
Search crbug.com for an existing issue, if you cannot find one, file a new issue at new.crbug.com, with exact reproduction steps and full configuration information.

Thank you.

☆PhistucK

Mohamed Mansour

unread,
May 22, 2010, 7:40:23 PM5/22/10
to Fernando Carvalho, Chromium HTML5
Hi Fernando, doesn't HTML5 applicationCache work for you? In your manifest, you define what you want cached.

-
Mohamed Mansour
m...@chromium.org

Ernest Delgado

unread,
Jun 2, 2010, 4:03:47 PM6/2/10
to Chromium HTML5
I think Fernando's point is, why aren't video and audio files cached
by default in the browser as it currently happens with images, flv or
swf files?


On May 22, 4:40 pm, Mohamed Mansour <m0.interact...@gmail.com> wrote:
> Hi Fernando, doesn't HTML5 applicationCache work for you? In your manifest,
> you define what you want cached.
>
> -
> Mohamed Mansour
> m...@chromium.org
>
> On Sat, May 22, 2010 at 3:16 PM, Fernando Carvalho <
>
>
>
>
>
> fernandocarvalhocoe...@gmail.com> wrote:
> > Is there any way to cache videos on Chrome web browser?
> > Since the network traffic increase every day, a video cache, should
> > help to minimize this issue.
> > I think that a cache should be implemented on the browser, so users
> > that have bandwidth issues can what videos cached on the browser.
> > This would be a great feature, if it is possible.
>
> > I'm trying Youtube HTML5 and I've realized that it don't cache the
> > videos, so it is a bandwidth waste, since the data has been already
> > downloaded.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium HTML5" group.
> > To post to this group, send email to chromium-ht...@chromium.org.
> > To unsubscribe from this group, send email to
> > chromium-html5+unsubscr...@chromium.org<chromium-html5%2Bunsubscr...@chromium.org>
> > .
> > For more options, visit this group at
> >http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
> To post to this group, send email to chromium-ht...@chromium.org.
> To unsubscribe from this group, send email to chromium-html5+unsubscr...@chromium.org.

Michael Nordman

unread,
Jun 2, 2010, 4:11:40 PM6/2/10
to Chromium HTML5, Ernest Delgado, videostack-eng
Video and audio clips are cached... there's a special purpose media cache for those media files.

I think an issue may be that this special purpose cache is only used by the <audio> and <video> player. If a developer attempts to pre-cache a media resource, for example by retrieving it via xhr, the copy in the std cache (if any) will not be used by the <audio> or <video> player.

To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.

Ernest Delgado

unread,
Jun 2, 2010, 4:25:35 PM6/2/10
to mich...@chromium.org, Chromium HTML5, videostack-eng
Michael,
Is there any way to see the content of that media cache the same way I see the "normal" cache with about:cache?

Silvia Pfeiffer

unread,
Jun 2, 2010, 7:41:10 PM6/2/10
to Ernest Delgado, mich...@chromium.org, Chromium HTML5, videostack-eng
Incidentally, I've also noticed that a shift-reload doesn't reload the
media resources on a Web page, but instead just pulls them out of the
cache. I think cached audio and video should also be aligned with how
cached images are discarded and re-downloaded on a shift-reload.

Cheers,
Silvia.

Nico Weber

unread,
Jun 2, 2010, 8:05:53 PM6/2/10
to Silvia Pfeiffer, Ernest Delgado, mich...@chromium.org, Chromium HTML5, videostack-eng
On Wed, Jun 2, 2010 at 4:41 PM, Silvia Pfeiffer <silviap...@gmail.com> wrote:
Incidentally, I've also noticed that a shift-reload doesn't reload the
media resources on a Web page, but instead just pulls them out of the
cache. I think cached audio and video should also be aligned with how
cached images are discarded and re-downloaded on a shift-reload.

Can you open a bug about this at http://new.crbug.com ? Please post a link to the bug once you're done.

Silvia Pfeiffer

unread,
Jun 2, 2010, 9:14:24 PM6/2/10
to Nico Weber, Ernest Delgado, mich...@chromium.org, Chromium HTML5, videostack-eng
On Thu, Jun 3, 2010 at 10:05 AM, Nico Weber <tha...@chromium.org> wrote:
> On Wed, Jun 2, 2010 at 4:41 PM, Silvia Pfeiffer <silviap...@gmail.com>
> wrote:
>>
>> Incidentally, I've also noticed that a shift-reload doesn't reload the
>> media resources on a Web page, but instead just pulls them out of the
>> cache. I think cached audio and video should also be aligned with how
>> cached images are discarded and re-downloaded on a shift-reload.
>
> Can you open a bug about this at http://new.crbug.com ? Please post a link
> to the bug once you're done.


Here you go: http://code.google.com/p/chromium/issues/detail?id=45701

Cheers,
Silvia.

pro-html5

unread,
Feb 18, 2013, 7:00:12 AM2/18/13
to chromiu...@chromium.org, Nico Weber, Ernest Delgado, mich...@chromium.org, videostack-eng

heyy..
we are trying to cache html5 videos but its not getting cached,and its coming as no mime type exist for the video.Is that any problem with the browser cache space ?? should we make some changes in the chromium browser code??
Reply all
Reply to author
Forward
0 new messages