Hi gumshoe2029,
Thank you for your answer.
I'm sure offline.appcache is updated (and in fact the text to reload the page is showed). In offline.cache there is also a list of all files needed to be refreshed (I think) including js files.
If I clear my browser cache I have no problem. But I need to make it work for everyone. I can't ask users to manually clear their cache or to disable browser caching.