12

I've installed the android app, because well reasons, and through I have a somewhat inexpensive data plan (I normally have enough for a month), that doesn't mean that I leave it without control. So through it is elsewhere that the API sends gzipped data, I couldn't find anything about the iOS nor Android app.

  • reasons = hats? :D – Infinite Recursion Dec 15 '14 at 16:26
  • 1
    Just a fun fact: This page (just the HTML) has a wire(less) size of 16.51KB (desktop) and 8.41KB (mobile web). The API response with iOS filters is 1.75KB. There are other factors like the web having more resources to load or the app getting higher res images but the API requests are very light. – Brian Nickel Dec 15 '14 at 16:47
  • Your Android should have the ability to report data usage per app (if it doesn't, load a decent ROM!). This makes it really easy to check if the apps you use are consuming a respectable about of data. My observation is the SE app uses minuscule amounts of data for my normal activity level (like an order of magnitude less than if I do the same things surfing SE sites using the mobile website). – Caleb Dec 15 '14 at 20:08
  • Do desktops also receive data compressed? – Sun Dec 17 '14 at 17:10
  • @sunk818 I remember that yes – Braiam Dec 17 '14 at 22:37
7

Yes, data downloaded from our API is compressed. As pointed out in the API docs on compression:

During normal operation, we guarantee that all responses are compressed, either with GZIP or DEFLATE.

However, although many image assets that are downloaded by the app (e.g. site icons) are not compressed, they are cached on the device.

  • 5
    It's worth noting that images are not compressed because there is no savings over the formats' native compression. (zlib for PNG files). That's standard across the web. – Brian Nickel Dec 15 '14 at 16:28
  • Arie and @Brian are all images cached, including avatars? This can explain the excessive storage usage, right? – Shadow The Dragon Wizard Feb 1 '17 at 8:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .