Jump to content

Is there caching in FireFox for <audio> sources ?


Catherine
 Share

Recommended Posts

Hello!

I am changing  audio.src=fileURL attribute in HTML page and paying sound. In the same time different process changing 

file at the specified URL on the server. But FireFox (31.0) never asking for a new version even after I do this:

//initial load of file does generate requestaudio.src=fileURL;audio.currentSrc = fileURL;audio.src = '';audio.currentSrc = '';audio.load();audio.play();//subsequent load(s) of file does not generate any requestsaudio.src=fileURL;audio.currentSrc = fileURL;audio.load();audio.play(); // playing back initially loaded file like it was not changed

But I need to say that sometimes it reload file until server side does not redirect request to same page.

 

In the same time Chrome for Android never does this way. I think there is some kind of caching strategy specific for FireFox, am I write? Could anyone tell me please, how to turn <audio> caching OFF completely? Changing fileURL is not an option.

Thank you!

 

Best Regards

Ekaterina

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...