asp.net mvc 4 - HTML5 AppCache: Application cache worked on development server but not on IIS 7.5 -
i working on html 5 offline application. when run application on visual studio works fine when stop application refresh page fire manifest error event application works fine local cache. when same application hosted on iis 7.5 works fine until stop server. when stop server refresh page generate obsolete event , cache deleted. m stuck do. added mime type .appcache , type text/cache-manifest
my guess because browser technically online (the server down/offline) treating failure retrieve manifest error.
and such triggering obsolete
event , deleting current application cache per the spec (look @ "dispatched when..." column obsolete event)
so, appcache working -- or if not, not reason -- symptom of testing being flawed.
btw, did exact same thing - it's annoying not being able test how application fair until in production/external environment. prepared push app , realise missed resource manifest! :)
Comments
Post a Comment