Firefox disable cache devtools inline javascript and ajax innerhtml

16 Views Asked by At

I am loading a second HTML page into a parent page container div via a JavaScript Ajax callback via innerhtml. The issue I have is the caching of the inner HTML content loaded into the container div. This page contains inline JavaScript. I have cache disabled in devtools settings. The only way I've found to reload both the parent page and the container page with updated js is to restart Firefox.

In-line JavaScript is only a dozen or so lines so would prefer not to create a separate JS script file if possible.

Any ideas about how to force a reload of the entire page including the container ? Thanks Paul

I have disabled the cache in dev tools. Multiple reloading of the page in the debugger still shows the outdated in-line JavaScript. I am using debugger in the js to detect changes and can see page not updated after edit.

0

There are 0 best solutions below