Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem While Doing html5 webapp cache
    primarykey
    data
    text
    <p>I have a webapp which has the domain <a href="http://draft.mo2do.com" rel="nofollow">http://draft.mo2do.com</a></p> <p>when i am accessing the url it will resolve like the below url and redirect to the corresponding site home page</p> <p><a href="http://draft.mo2do.com/s/_91665/Home" rel="nofollow">http://draft.mo2do.com/s/_91665/Home</a></p> <p>Here i implemented offline cache. My cache.manifest file is the below</p> <pre><code> CACHE MANIFEST # Offline cache v4.0 # All other resources (e.g. sites) require the user to be online. NETWORK: * # Additional resources to cache CACHE: # Add the pages in to the cache /s/_91665/Home /s/_91665/CachedDraftBoard http://draft.mo2do.com # Add the images in to the cache /s/store/-1/webapp/styles/webapp.css /s/store/-1/webapp/styles/nba_draft.css /s/store/-1/webapp/styles/add2drafthome.css?v2 # Add the js files in to the cache /s/store/-1/webapp/scripts/jquery-1.5.min.js /s/store/-1/webapp/scripts/iscroll.js /s/store/-1/webapp/scripts/webapp.js /s/store/-1/webapp/scripts/nba_draft.js /s/store/-1/webapp/scripts/cacheUpdate.js /s/store/-1/webapp/scripts/add2drafthome.js?v0.9.4 /webapp/icon.png /webapp/startup.png /s/store/-1/webapp/nba/addtodrafthome/arrow.png /s/store/-1/webapp/nba/addtodrafthome/close-bubble.png /s/store/-1/webapp/nba/addtodrafthome/icon.png /s/store/-1/webapp/nba/addtodrafthome/plus.png /s/store/-1/webapp/nba/addtodrafthome/share.png FALLBACK: http://draft.mo2do.com </code></pre> <p>If i am directly accessing the site url the caching is working and that time i didnt mention the "http://draft.mo2do.com" in the cache section.During this time offline cache is working fine.</p> <p>If i directly access only the domain url "http://draft.mo2do.com" in the browser it is not opening 404 in the offline mode.</p> <p>Then i added the "http://draft.mo2do.com" in the cache section that time i am getting exception</p> <p>Application Cache Progress event (2 of 3) <a href="http://draft.mo2do.com/" rel="nofollow">http://draft.mo2do.com/</a> Application Cache Error event: Resource fetch failed (-1) <a href="http://draft.mo2do.com/" rel="nofollow">http://draft.mo2do.com/</a></p> <p>If i access the domain also it should load the app in the offline mode. If i access direct url app is loading fine.</p> <p>How can I solve this issue?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload