main
Report a problem

YouTube videos now cached by browsers

James7   on 14 June 2009 - 16:53 · 43 comments & 9870 views

Advertisement (Why?)
In the past people with slow connections who tried to watch YouTube videos often had their patience tested. Playback often caught up with the buffer, leading to annoying pauses--and leading many to give up entirely on watching Youtube videos.

Things have changed for the better, reports the Google Operating System blog. YouTube videos are now held in the browser's cache by default, allowing people to watch them again and again without pauses once they have been downloaded.

Youtube even has helpful advice for people with slow connections: "Still rockin' the 56k? No problem. As you may already know, a slower connection simply means slower delivery of services. You only need a little more time and patience than with a faster connection. For best results, you may want to start the video player and then click on the PAUSE button immediately. Then, wait until the red progress bar has reached the end of the video before playing it. Allowing the entire video buffer lets you watch it without interruption. Remember, the shorter the video, the shorter the amount of time it takes to buffer."

Even if you have got a fast connection, you may want to make use of this trick if your network seems slow.

There is, of course, nothing strange about the idea of caching Flash SWF files, even though the Google Operating System blog says that "YouTube managed to achieve something incredible" here. It seems rather to be a decision on YouTube's part to allow the (legal?) caching of videos by default.

The benefits are clear, however: better enjoyment of the YouTube videos you want to watch once or more than once, whether you have a slow or fast connection, and the ability to close and re-open the browser and then watch those videos again without having to download them a second time. Just remember, if you want to start caching large numbers of YouTube videos, you will want to make sure your browser cache size is big enough to accommodate them.

And one more thing, this new "functionality" also works for YouTube videos embedded in web pages on other sites, such as here on Neowin!

Post a comment · Send to friend Comments · There are 43 additional comments
#1 Deathray on 14 Jun 2009 - 17:02
I'm glad they did this, seems like a pretty straightforward idea... perhaps there were some legal or technical issues for them, but at least they made it happen
#2 icat on 14 Jun 2009 - 17:06
good stuff
(1 reply) #3 i_was_here on 14 Jun 2009 - 17:09
If you have Firefox and Greasemonkey, then give this script a try:

http://userscripts.org/scripts/show/49366

It automatically pauses the video allowing it to buffer.
#3.1 +TCLN Ryster on 14 Jun 2009 - 21:57
Good info, thanks. The auto-HD part of that script is cool too, I hated having to click the HD button every time.
(3 replies) #4 BeeJAyP on 14 Jun 2009 - 17:21
Seems to be working great so far, will this now allow proxy servers to cache YouTube?
#4.1 Glendi on 14 Jun 2009 - 18:29
You don't use the browser of a proxy.
#4.2 +TCLN Ryster on 14 Jun 2009 - 22:00
Glendi....what??

BeeJAyP was asking if users who's web connection comes via a proxy server (corporate users for instance) would benefit from the videos being cacheable by the proxy server. Seems like a valid question to me.

Our company uses YouTube extensively for product launch videos, demonstrations, etc. Having that content cached by the proxy server could save hundreds of megabytes of bandwidth on our internet connection if indeed this stuff is cacheable at the proxy server and not just the client.
#4.3 ascendant123 on 15 Jun 2009 - 00:12
BeeJAyP said,
Seems to be working great so far, will this now allow proxy servers to cache YouTube?


YouTube has always been cacheable at the proxy level -- we've done so for years.
(1 reply) #5 soumyasch on 14 Jun 2009 - 17:28
For best results, you may want to start the video player and then click on the PAUSE button immediately. Then, wait until the red progress bar has reached the end of the video before playing it. Allowing the entire video buffer lets you watch it without interruption.

Huh? Is this supposed to be something new? I used to do the same three years back when I was on a 256 kbps line. Still do it on an EVDO connection.
#5.1 excalpius on 14 Jun 2009 - 21:48
No, it's not anything new.
#6 artfuldodga on 14 Jun 2009 - 17:31
and for the rest of us with good connections BetterPrivacy i want every ounce of my free space back
(2 replies) #7 nhozemphtekh on 14 Jun 2009 - 17:35
"Remember, the shorter the video, the shorter the amount of time it takes to buffer."

thanks mate, now thats a protip.
#7.1 iaTa on 14 Jun 2009 - 19:21
nhozemphtekh said,
"Remember, the shorter the video, the shorter the amount of time it takes to buffer."

thanks mate, now thats a protip.


My thoughts exactly when I read the article.

Pure genius.
#7.2 GEIST on 14 Jun 2009 - 23:29
nhozemphtekh said,
"Remember, the shorter the video, the shorter the amount of time it takes to buffer."

thanks mate, now thats a protip.


Your sarcasm seems to imply you are assuming all people on the web have common sense. That is a grave mistake.
(2 replies) #8 PsykX on 14 Jun 2009 - 17:40
Hmmm, I don't have much HDD space left... I guess putting HD videos in my browser's cache will... help?
#8.1 artfuldodga on 14 Jun 2009 - 17:43
those HD videos can get pretty big, depending where / what you're viewing haha... but i'm just not crazy about garbage files taking up space
#8.2 epple on 15 Jun 2009 - 13:13
PsykX said,
Hmmm, I don't have much HDD space left... I guess putting HD videos in my browser's cache will... help?

Set your browser to only use X amount of MB to cache.
(3 replies) #9 greg453497897 on 14 Jun 2009 - 17:42
Huh? Am I missing something? I've been able to do this for ages.
#9.1 Beastage on 14 Jun 2009 - 19:37
Me too, I don't know what this about
#9.2 carmatic on 14 Jun 2009 - 20:13
greg453497897 said,
Huh? Am I missing something? I've been able to do this for ages.


the new thing is that you dont have to redownload the video if you leave its page...
#9.3 Glendi on 14 Jun 2009 - 22:52
carmatic said,
the new thing is that you dont have to redownload the video if you leave its page...


It was the same once, they changed it and now back.
(5 replies) #10 Thom on 14 Jun 2009 - 17:55
Anyone else find YouTube HD videos practically unusable during peak hours?? I'm in the UK, right now on Tiscali, however, have had exactly same issues on my Virgin 10mb back in London, friend says the same with him on BT broadband.

I set it so YouTube plays them in HD (if available) and find it takes forever to load - initially the player won't even start playing for a few minutes! Then when I skip in HD, half the time it messes up the video and I have to refresh/restart. I thought this was perhaps the HD setting, though sometimes I find the search results page shows up perfectly but the video pages take a long time. Right now it's OK but it seems to be incredibly temperamental and my only guess is ISPs throttling, though if this is the case it's totally out of order because they may as well just block YouTube with the limits I sometimes find...

Any other UK (or other countries I guess) users ever find this?
#10.1 artfuldodga on 14 Jun 2009 - 18:08
yeah. YT hd is still a little loopy for me now and again, other services that offer HD seem to have no issue, not sure what youtube is doing wrong... i know its not my system
#10.2 Ambroos on 14 Jun 2009 - 19:05
Thom said,
Anyone else find YouTube HD videos practically unusable during peak hours?? I'm in the UK, right now on Tiscali, however, have had exactly same issues on my Virgin 10mb back in London, friend says the same with him on BT broadband.

I set it so YouTube plays them in HD (if available) and find it takes forever to load - initially the player won't even start playing for a few minutes! Then when I skip in HD, half the time it messes up the video and I have to refresh/restart. I thought this was perhaps the HD setting, though sometimes I find the search results page shows up perfectly but the video pages take a long time. Right now it's OK but it seems to be incredibly temperamental and my only guess is ISPs throttling, though if this is the case it's totally out of order because they may as well just block YouTube with the limits I sometimes find...

Any other UK (or other countries I guess) users ever find this?


Never happens for me in Belgium (with a very fast connection though).
#10.3 Victor V. on 14 Jun 2009 - 19:09
And it's funny, because if you try to download the video using DownloadHelper it goes fast as hell.
#10.4 aarste on 14 Jun 2009 - 21:04
Same here on UK IDNet adsl. HD movies take ages to load and never downloads at 100% of my connection, but rather only uses up 10% or 20%. Some normal Youtube videos even take so long to load that it gets stuck in buffering, and it's not using my full bandwidth either.

Youtube's performance just got a lot poorer in recent months :/
#10.5 excalpius on 14 Jun 2009 - 21:49
Hopefully, this caching is a response to this. I bet they were getting a TON more traffic than necessary just because of non-caching, haha.
#11 blake on 14 Jun 2009 - 18:31
Does this mean squid is able to cache the videos files now?
#12 hotdog963al on 14 Jun 2009 - 18:54
About time!! (I'm very bandwidth concious.)
(3 replies) #13 tripleXit on 14 Jun 2009 - 19:09
And how much hard drive space is this cache gonna take up if I watch a lot of videos? Megabytes? Gigabytes?
#13.1 superkid on 14 Jun 2009 - 19:23
tripleXit said,
And how much hard drive space is this cache gonna take up if I watch a lot of videos? Megabytes? Gigabytes?


Your browser should limit the amount of temporary files anyways.
#13.2 excalpius on 15 Jun 2009 - 03:42
Even though @superkid is correct here, who cares how much hard drive space ANYTHING takes up anymore?

Except for video editors, 3D artists, etc. drive space became a non issue ten years ago.

You can buy a TB drive (that's a 1,000 gigabytes) for as low as $100 now.
#13.3 PureLegend on 16 Jun 2009 - 05:34
excalpius said,
Even though @superkid is correct here, who cares how much hard drive space ANYTHING takes up anymore?

Except for video editors, 3D artists, etc. drive space became a non issue ten years ago.

You can buy a TB drive (that's a 1,000 gigabytes) for as low as $100 now.

Drive space is very much an issue, especially for those of us with laptops that have other things to spend money on, and SSD users.
#14 Victor V. on 14 Jun 2009 - 19:09
That's a huge improvement, and I remember that it used to be like this.
(1 reply) #15 carmatic on 14 Jun 2009 - 20:19
thats one thing i can tick off my wishlist now...

i remember those days of grief when i accidentally closed the browser or one of its tabs containing that youtube video which i spent the last few hours downloading

im curious as to if it also caches incompletely downloaded videos, but i dont really feel like trying it out right now...
#15.1 superkid on 14 Jun 2009 - 21:25
carmatic said,
thats one thing i can tick off my wishlist now...

i remember those days of grief when i accidentally closed the browser or one of its tabs containing that youtube video which i spent the last few hours downloading

im curious as to if it also caches incompletely downloaded videos, but i dont really feel like trying it out right now...


Not it doesn't, it only caches fully bufferd videos.
(1 reply) #16 mayamaniac on 14 Jun 2009 - 21:01
Will this work on the iPhone? One thing I hate is that it doesn't cache videos.
#16.1 excalpius on 14 Jun 2009 - 21:50
An EXCELLENT question. You'd think it was platform independent, so I would guess that Yes, it should help the OS X derivatives like the iPhone and iPod Touch.
#17 XXXWesXXX on 14 Jun 2009 - 22:13
Good, I have very slow internet speeds, this will help out a great deal.
#18 chAos972 on 15 Jun 2009 - 00:05
Not working for me (opera 10 b1).
#19 jase chaos on 15 Jun 2009 - 00:38
Nice to see an improvement on YouTube... now only if they could change the design.
#20 xpclient on 15 Jun 2009 - 13:45
Cool. If they're still using Flash player which doesn't use the browser cache, I wonder how they're doing this (Javascript I guess). Hope Adobe sees sense and gives users the choice to cache files streamed by other Flash player protocols or at least make it open. (I'm looking at you RTMP).
#21 C_Guy on 15 Jun 2009 - 14:52
Still rockin' the 56k?

How exactly does one "rock" a connection that slow?

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)