Reducing use of NSURLCache in snowplow-objc-tracker (iOS)


#1

I’m currently using the snowplow-objc-tracker to capture analytics data and I noticed that our Documents & Data grows considerably with heavy app usage. After investigating I found our Cache.db size to be more than 20MB which is the database associated with NSURLCache, and the contents were all snowplow related. After looking through the library I don’t see any indication of the cache policy or size being set so I’m assuming the default settings are in play. My issue is that this appears to be growing past the default size and I don’t see a way to configure usage outside of forcibly clearing this cache. For the developers here, is this intentional? I have not yet analyzed the web traffic, are snowplow events setting a cache policy on mobile devices?