Hi,
I thought the cache wasn’t working, so I asked on the chromium browser, and they responded this:
To simplify this for Saada, this is your site’s problem. A service worker is javascript included with your web page. This API is useful if you understand how to use it. Since we don’t know your web site’s intent, we can’t say why you decided to code this statement. If you did not code this statement, then you probably included it from a package you are using on your web page.
I use the hugo-book theme, but the author hasn’t responded yet, and I’m not sure he came up with it. Perhaps it’s hugo’s thing ?
I don’t understand javascript matters or caching at all, but I know something’s off.
Ay ay…
I just want already visited pages to have their resource automatically downloaded, to load said pages instantaneously from a cache instead of requesting them from the network, unless the local page is too old. Isn’t that what caching is about ?!
Muh normie brain no groking more !
Ok, this is ridiculously complicated and I’m not touching that nor javascript, which makes my skin crawl.
I didn’t know that I thought a basic function would require all that mumbo-jumbo…
I hope the theme’s author responds and tells the correction but I’m sure as hell it doesn’t work as intended.