Avatar of Richard Korts
Richard Korts
Flag for United States of America asked on

How to preload wav files into browser cache

We are building a web application that uses multiple wav files. Some are large (about 1 - 2 MB), others small (about 200K).

Is there a way to initiate a preload of a lot of files into the browser cache when the first page loads & have them there for subsequent pages?

JavaScriptWeb Browsers

Avatar of undefined
Last Comment
Richard Korts

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
tomaugerdotcom

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Richard Korts

ASKER
Thanks for your quick response.
I'm using php, so I found this to be what I used but your looks similar:
http://sharkysoft.com/tutorials/jsa/content/048.html
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes