Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slow_donkey
on Aug 28, 2018
|
parent
|
context
|
favorite
| on:
Service Workers
Have you looked into using a fetch event hook? The first thing I thought of was an Axios interceptor if you're using Axios or other http lib.
That should allow you to sum up download sizes.
wbercx
on Aug 28, 2018
[–]
Thanks for this! I've recently been asked how much data our React Native app uses. I totally hadn't thought of using Axios' interceptors to track this. So obvious!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That should allow you to sum up download sizes.