The question concerns technology HTML5 Application Cache.

There is a site that is completely dynamic, should not be cached while online.

Task: in case of offline site, you need to display the stub page (FALLBACK) when visiting any page, including the root page. At the same time, there should be one page on which the stub should not be displayed, that is, it should always be requested from the network, even during offline.

Manifest file:

CACHE MANIFEST NETWORK: allways_online.html FALLBACK: / /fallback.html 

In chrome works as expected. Firefox browser displays fallback.html even on the allways_online.html page, allways_online.html prescriptions in the "NETWORK" section. The allways_online.html page allways_online.html not contain a manifest connection.

How to solve the problem for Firefox?

    1 answer 1

    The specification has changed at some point: before this change, exactly the behavior of Firefox was correct for this manifesto. In Firefox, this has not been fixed (and do not even plan, hoping to ever turn off this functionality at all) .

    Therefore, either switch to Service Workers (the recommended replacement for AppCache), or come up with a manifest structure such that your always-online page has a prefix not listed in the list of those for which FALLBACK is specified.