The SDK guideline has a couple of new items regarding offline caching: getsentry/develop#509
- If rate-limit was hit, make sure the caching transport is aware. Meaning: don't read all files from disk to send to the HTTP transport when that's basically dropping everything due to rate-limit
- Add a delay when reading from disk to avoid bursts of events which could trigger rate limit
- Once the device is back online, read events preciously cached (as opposed to send only on restart or when a new event is captured)
Relates to: