0
Good afternoon, I’m creating a website that should work offline. my idea is that when the user has internet connection the site pages should be downloaded to the browser cache, and when the user is offline the pages should be retrieved from the cache, until this part I was able to do using CACHE MANIFEST but even being online when I change my files keeps searching the cache, forcing the user to clear the cache to get the new changes. Does anyone have any idea how to "clear the cache" only if there are any changes between the files?
a simple solution is to save the file
editado
parameterarquivo.ext?n=atualizacao_numero_xxx
where xxx = different number at each update– user60252