I found out more useful stuff about FALLBACK:
After a little experiment, I tried various things, including files in FALLBACK: should generally appear in the CACHE or NETWORK sections. The answer seems to be no.
As an example ... GET OFF: sign-up-portrait.png offline-portrait-1.png sign-up-landscape.png offline-landscape-1.png
I recently pointed this out on one of my microsites. The goal is to show log files with online and offline mon files offline. It works well. In particular, the files on the left side of each line are implicit, as if they were in the NETWORK section, the site will always try to get them on the Internet. They should also not be added to the NETWORK section, otherwise it seems to override what is in FALLBACK. In addition, fortunately, the files on the right are implicitly added to the CACHE section: therefore, even if they are not used at first, they are cached on first boot without the need to explicitly add them to CACHE: although you can add them there too if you want. It does not matter.
For this configuration, looking at the web server logs, I see that every time the page is refreshed, apache logs 304 against the manifest file and against the log file that is required for this version of the page (there is a CSS CSS selector that determines based on page size ) Therefore, it always always checks the log files, as well as the usual manifest check, which is exactly what I want.
To be thorough, I tried to find out if a root file is needed in the CACHE: section. It turns out that this is not so! If your top-level file is index.html and it has a manifest file specified in its html tag, then the manifest file should not contain index.html anywhere, it is implicitly cached.
I am wondering how much the application cache can expand. Can you include other html files related to or in the iframe? Or should they all have their own manifest files, which are separate? Anyone want to comment?
Component comment about the format, do not make the mistake I made, and this needs to be added ... NETWORK file1.js
The lack of a colon makes it completely break, thinking that NETWORK is its own resource.
It must be ... NETWORK: file1.js