In Safari 12.1 Service workers can’t be disabled anymore via Develop > Experimental Features. I guess it’s not an experimental feature anymore.
Is there any other way to disable them? Sometimes the whatsapp service worker seems to have a hiccup and uses 100% cpu utilization.
earlier solution for safari versions pre 12.1:
How to disable service workers in Safari?