views:

73

answers:

1

Does Flash use the browser cache when plugin content downloads files?

+1  A: 

Flash delegates downloads to the hosting browser. The Netscape Plugin version (npswf32.dll on Windows) uses NPN_GetURLNotify() and NPN_PostURLNotify(), and the ActiveX version (Flash10a.ocx, e.g.) requests a Moniker, indicating it uses URLMON to perform the downloads.

So, Flash uses the Browser's cache in each instance. I'm not sure about JavaFX or Sliverlight, but I don't see why they'd go to the trouble of implementing their own when all the browsers that matter make it easy for plugins to use the built-in cache system.

This question sounds like it came about because of some other underlying problem that you haven't described. Why do you want to know? What are you doing that raised this question? If you explain that, we may be able to help you solve your actual problem.

jeffamaphone
I wanted to split an hour long file into about 1,000 pieces so you could seek around to listen to and re-listen to different portions of the file without downloading the whole thing.
joeforker
Robert Fraser