I would like to read the cookie in my service worker so that I can use it to configure my caches, but I cannot find a way to do this.
Is there a way to do this, or will I need to duplicate cookie data in an IDB or similar?
You cannot access them at this time. There's a discussion in the W3C ServiceWorker repository about adding methods to access them in the future.
Source: https://habr.com/ru/post/1244086/More articles:Redirect Elixir Phoenix request from root domain to www - redirectHow to get a list of routes from a module / directory in Laravel 5? - phpnode -debug won't break or show code - debuggingWhy serviceworker cannot access cookies - cookiesTelegram bot sends messages in a few days - phpPerform the operation on the vector using the previous value after the initial value - rWhat is the appropriate HTTP status code when the request is successful, but there are warning messages? - restOracle DB Ora-01839: The date is not valid for the specified month. 02/29/2016 leap year - oracleRe-discussion on Kurento Media Server - webrtcFloating button not working in Pre-lollipop version - androidAll Articles