how to disable the service worker in ssr ? #15867
-
why https load from service worker? for now i do only build -m ssr so i disabled pwa in the ssr block for now (it was activated). when i load the page it work the first time but then when i reload there is no query hitting my nginx reverse proxy so it must be this service worker service that i see in the size collumn of chrome dev tool. i already disabled pwa . are there a service worker in ssr mode also ? i already put this header in my nginx conf "Cache-Control": "no-cache" like it said https://quasar.dev/quasar-cli-webpack/developing-pwa/handling-service-worker/ when i enable "bypass for network" in dev tool, it work every time. how to make it ask the page to the server every time i click reload |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
if you encounter the same problem, you need to clear the cache as the service worker and the files has been cached . manually by going dev tools > tab application > cache storage > name-your-cache : delate each one of them . |
Beta Was this translation helpful? Give feedback.
if you encounter the same problem, you need to clear the cache as the service worker and the files has been cached . manually by going dev tools > tab application > cache storage > name-your-cache : delate each one of them .