I face the following problem: Even if I have my cache manifest, I cannot use my website correctly.
I am working with Visio 2012, asp.net MVC.
Here is what I have done so far:
I created my Manifest.manifest file, it contains the following lines of code:
CACHE MANIFEST
../Content/images/icons-18-white.png
../LegalEntity/IndexLegalEntity.cshtml
../Home/Index.cshtml
On every View I added the
<!DOCTYPE html>
<html manifest="~/Manifest/Manifest.manifest">
Now I access my browser (Firefox) and get asked if I allow my browser to store data for offline usage. I agree. Now I shut down the IIS Express, so the website is no longer accessible.
When I refresh my page, Firefox tells me, that localhost is not available, as expected. I now turn it into offline-mode. Now I can access the Index-page, but none of the other views I listed in the manifest.
All visited pages are available in offline mode, but if I understood the concept correctly, every element of the manifest should be loaded into the offline cache, as soon as I access that first page.
Some further information:
I emptied my browser cache (multiple-times). I refreshed my .manifest file. I deleted the offline-cache inside the Mozilla/Firefox/... Folder.
Did I place the manifest file at the wrong location? As you may have seen it lies within a "Manifest" -Folder.
Thank you for your help!