Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7977143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:06:32+00:00 2026-06-04T09:06:32+00:00

I´m having a problem with the cache in Firefox and Opera to use the

  • 0

I´m having a problem with the cache in Firefox and Opera to use the HTML5 tag .

My page has a button that generates a new video in the server when it´s clicked (always the same name), and when the video is generated, is showed in the page with video…/video.

The problem is that Firefox and Opera always show the first version of the video in the page, and the last version (correctly) if I enter to the video URL directly.

I have tried deleting cache, using “meta http-equiv=”Cache-control” content=”no-cache” “, but it´s useless.

In Chrome and Safari it works perfectly.

Any idea?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:06:34+00:00Added an answer on June 4, 2026 at 9:06 am

    3 options:

    1. send proper cache-control headers for the video-file. this would be done via htaccess file or web.config file (Apache / IIS). while essentially a good solution it might still fail in some browsers
    2. attach a timecode to the path like this: http://mydomain.com/mypath/myvideo.mp4?t=13591239123
    3. always use a new name for the video-file – e.g. by counting the generated videos and numbering them sequentially

    option 3 together with a cronjob that deletes old videos is probably best – else two users looking at your page at the same time would overwrite each others video.

    option 1 / 2 are fine for a single-user environment.

    option 2 would reset the path of your <video id='myvideo'> element upon completion of generating the new video:

    document.getElementById('myvideo').setAttribute("http://mydomain.com/mypath/myvideo.mp4?t="+(+new Date());
    

    note that this solution only deals with one source file. for this to work in all browsers you need mp4 and webm (or ogv) files –> two video files
    compare http://caniuse.com/webm and http://caniuse.com/mpeg4

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having problem that when i am trying to submit the form by
I'm having a strange problem here. I'm moving a (working) site to a new
I'm having a problem in the firefox browser, because everytime I update my CSS
I'm having some trouble with the firefox and ie cache, on my website the
I am having a problem with a UIView that when using a solid colour
I'm having some problem expiring an action cache in my application. Here is my
I am having a problem to display a View. When a button is pressed
I am having some problem with cache registry. Here, how I configured cache resources.cache.frontEnd
Having problem with the middle Div not expanding to the width http://acs.graphicsmayhem.com/images/middiv.jpg Ok, how
I'm having problem when running my Windows Forms program. In the program, I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.