Ok everybody says the spec is broken.But the spec is not being fixed either.
The OP says : only put index.html in the appcache file.
But what about if I want my app to work offline,do I really need to go and shove everything in local storage?
So what's the point of appcache then ? and who went along with that spec at first place?
This specific issue infuriates me.It makes creating offline web app so complicated ,it's like the people writing the spec didnt want developpers to write offline apps.
I'm cautiously optimistic about SW, but sad that we didn't just fix the bugs however many years ago so that we at least had something that worked in the meantime.
Comments
Ok everybody says the spec is broken.But the spec is not being fixed either.
The OP says : only put index.html in the appcache file.
But what about if I want my app to work offline,do I really need to go and shove everything in local storage?
So what's the point of appcache then ? and who went along with that spec at first place?
This specific issue infuriates me.It makes creating offline web app so complicated ,it's like the people writing the spec didnt want developpers to write offline apps.
Just fix the damn spec.
It is not that hard to just fix the few things that are broken in appcache. But it's more fun to start over with ServiceWorker (https://developer.mozilla.org/en-US/docs/Mozilla/Projects/So...).
I'm cautiously optimistic about SW, but sad that we didn't just fix the bugs however many years ago so that we at least had something that worked in the meantime.