You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the implementation only works for the top-level / domain, but if you try to view a resource offline like /posts, since there's no posts/index.html cached, you will get the offline page.
I have tried editing the fallback section to serve index.html, but this still fails because the browser will request manifest.appcache from the nested domain, so resource/manifest.appcache. My next idea was to duplicate the top-level assets and files in the manifest.appcache, and this worked, but the problem was that this new appcache generated from the nested resource was overwriting the appcache initially created on the top-level (/).
Are there any suggestions on configuring nested resources/routes to work in a SPA application? Perhaps this isn't related to this particular plugin, but I thought it might be useful to explain that this plugin cannot deal with nested resources.
The text was updated successfully, but these errors were encountered:
Currently, the implementation only works for the top-level
/
domain, but if you try to view a resource offline like/posts
, since there's noposts/index.html
cached, you will get the offline page.I have tried editing the
fallback
section to serveindex.html
, but this still fails because the browser will requestmanifest.appcache
from the nested domain, soresource/manifest.appcache
. My next idea was to duplicate the top-level assets and files in themanifest.appcache
, and this worked, but the problem was that this new appcache generated from the nested resource was overwriting the appcache initially created on the top-level (/
).Are there any suggestions on configuring nested resources/routes to work in a SPA application? Perhaps this isn't related to this particular plugin, but I thought it might be useful to explain that this plugin cannot deal with nested resources.
The text was updated successfully, but these errors were encountered: