As I know, Worker Services cannot access cookies. Because of this, I encountered a lot of problems when implementing SW for my site.
I want to know what are the reasons that Service Workers cannot access cookies. Now I use messaging to send the contents of the cookie to Service Workers . Is there a better way or hack it more efficiently?
source share