firefox not executing javascript on back button

6 בספטמבר 2011

Hi, firefox has a cache behavior that uses in-memory caching for entire Web pages, including their JavaScript states, for a single browser session. This can cause to unexpected javascript and HTML behavior when pressing on the browser back button. For example: PageLoad will not fired javascript code will not executed DHTML that was created by JavaScript will be shown and more... In case firefox cache is something you want to prevent, Below are some common programmatic reasons that a page will not be cached by firefox: the page uses an unload or beforeunload handler the page sets "cache-control: no-store" the page sets "cache-control: no-cache" and the site is HTTPS. the page is not...