Imagine the following situation: a user comes to the website and he plans to use it offline. So we cache the items /a
, /b
and /c
. Then the Appcache manifest should look like this:
CACHE MANIFEST
# user foo
CACHE:
/a
/b
/c
NETWORK:
*
A day later he comes back and the user would also like to use /d
offline. So we would change the manifest to:
CACHE MANIFEST
# user foo
CACHE:
/a
/b
/c
/d
NETWORK:
*
Now question: can we prevent the user's browser from refetching /a
, /b
and /c
?
And is the inverse possible? I.e. removing a resource without refetching the rest?