We apologize if we were not clear in our previous response. The subscription bell request is not cached/stored in the browser because: “The bell request (simple request, think of it as a ping) is run to check if the bell is active or not. Example: if you activate the subscription bell from our web console, the ping will tell your browser that the bell has been activated and it will show it.” Caching/storing it in the browser will 1- add more cookies (browser cookies, browser internal storage), 2- bloat our JS file, and 3- can create disconnect between your subscription bell settings and actual behavior on your site. We are open to suggestions/better-ideas here. Let us know if you have a more elegant solution in mind.
Related info: Subscription bell request is only run for users who have either accepted or denied push notifications through the native browser prompt. It does not run for users who merely dismiss the custom lightbox prompt.
The screenshot you sent shows a similar sized request (<1KB) being made by CloudFlare (one of the best CDNs out there) with similar latency. 100-200ms is within our design parameters. the occasional spike could be caused by a variety of reasons such as your internet connection speed that are out of our control.
-
This reply was modified 4 years, 7 months ago by
webpushr.