I understand the app cache in html5 with static contents and with normal file extension, for example: index.html, theme.css, app.js
The question is how to do app cache it with MVC4 for web-app?? The data is dynamic where comes from api and set-to localStorage.
I want to cache the files *.cshtml (app-template) for using offline.
CACHE MANIFEST
# 2012-02-21 v1.0.0
CACHE
/theme.css *<-- Understand*
/logo.gif
/main.js
/home/index.cshtml *<-- is this correct?*
/sales/dashboard.cshtml *<-- is this correct?*
/_Answer_below *<-- please help this
NETWORK:
/config.html
FALLBACK:
/html/ /offline.html
example.com/home
route to
=> A). example.com/home/index.cshtml
or B). example.com/home/index.html
or C). example.com/home/index