Safari Flash Player Caching Bug · 7.02.08

A while ago I noticed the web traffic on my site had grown a lot while the amount of visitors hadn’t become bigger… I found out what was causing this! The latest version of Safari somehow doesn’t allow the Flash Player to cache files, so with every call, the files (images) will be re-loaded from the server completely! Resulting in more web traffic…

I’ve created this flash file to show you this problem… When pressing “load file!” it simply loads the file… When pressing the button again, it should simply show the image at once, because it’s loaded into your browser cache. That’s exactly what it does in all browsers except for the latest version of Safari! Help!

I’ve got Safari Version 3.0.4 (5523.10.6) and it doesn’t cache!

---

Comment

filetoload = “http://flickr…etc/file.jpg”
//define your loading method and put the below line as url
filetoload+”?”+new Date().getTime();
// “?”+new…. will add athe end of url a unique number – browser will allways load file from server and not from cache. file will be cached but not used again. do the same with html code.. with minimal alteration.. google it. enjoy

iashido · Thu Feb 7, 02:29 PM · #

erm…example seems to be caching fine to me. ? .

hmmm, unless my version of safari isnt up to date (Version 3.0.4 (523.12.2)?

Darryl Hutchison · Thu Feb 7, 04:12 PM · #

Seems like you’ve got a slightly newer release?! Let’s see if I can get that one somewhere…

— rudin · Fri Feb 8, 01:06 PM · #

Firefox rules!

Getfirefox.com ! (and buy a t-shity grightaway;)

— remko · Tue Feb 12, 03:14 PM · #

I thought I was going crazy – I recently rolled out a Flash site and noticed the same thing happening. The site is www.mmfoto.com – check out the Stills section and click on a thumb. The selected image loads and, at the same time, I also load in the image before and after it (to reduce load times when clicking successive images) If an image has already been loaded it is smart enough not to load again, instead relying on the cache.

Using Safari 3.0.4 (523.12.2) on a machine w/ Tiger it runs fine. I have a fast connection and after the initial load I can pretty much click through images without any delay.

However, using Safari 3.0.4 (5523.15) under Leopard, I notice things work sometimes, but for certain images it never uses the cached versions – I can see this in the Activity window, clicking between an image that caches fine and one that doesn’t shows the first loading instantly and the other re-loading. It’s a pain, cause every other browser works as it should…. hopefully this is addressed by Apple.

Dave · Fri Feb 22, 10:50 PM · #