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 4552392
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:46:56+00:00 2026-05-21T16:46:56+00:00

I have a page that pulls an external JavaScript file, which then generates some

  • 0

I have a page that pulls an external JavaScript file, which then generates some content dynamically into that page (basically inserts some DIVs and a Flash object).

When ever the user navigates away from this page and then pushes the ‘back’ button, Safari and Firefox display the generated content, but IE 8 does not.

What is the best practice for IE to retain dynamic content in history? Or do I have to listen for some specific event and then restart my JavaScript?

BTW, I have jQuery in place, so relevant plugin suggestions are also welcome.

EDIT: here is link to demo:
http://mmstest.eenet.ee/embed/281

If you click the Google link at the bottom and then go Back, Safari and FF will show you the video again, IE8 does not.

  • 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-05-21T16:46:57+00:00Added an answer on May 21, 2026 at 4:46 pm

    I did a quick test using the IE Developer toolbar- I clicked back and nothing happened as you mentioned. I then tried again but before clicking back I cleared my cache, and when I went back the video showed up.

    Try ensuring you force IE to clear the browser cache and your video should load even when clicking on the back page.

    —- EDIT ADDED AFTER CACHING CONVERSATION —

    This should not affect the performance of your web application the client browser gains from caching, since you would send back headers to expire/disable the cache only for the page that fires off the JS to embed the video. Everything else- the JS scripts, the graphic/images, and event the video- would still be cached by the client.

    —- EDIT: UPDATED TO INCLUDE FULL SOLUTION FROM COMMENTS —

    To disable caching of included JavaScript files one solution is to just append random number in query parameter to the URL, so that browser will not cache the result.

    <script src="jquery.js?t=<?PHP echo rand() ?>">
    

    This avoids the need to modify webserver settings to disable caching static JavaScript files system-wide.

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

Sidebar

Related Questions

I have this javascript that pulls some data via an ajax request the method
I have a page that is generated which inserts an HTML comment near the
I have a page that has 3 used controls that are dynamically added to
I have currently created a facebook like page that pulls notifications from different tables,
I have a page that loads and after it loads, it pulls in a
I have constructed an XSL file that parses an XML formatted log and generates
We have been given some code that does a URLRequest call which is really
I have a page that pulls in data via AJAX. As well as this
I want to parse a html-page that unfortunately requires JavaScript to show any content.
I have a page that uses $(id).show(highlight, {}, 2000); to highlight an element when

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.