New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable gzip compression when api calls #504
Conversation
Your app is deployed! Try it via https://deploygate.com/distributions/e5e47d1b17a3bb5322853fbfe3a87622813c2a07 |
📝 thats really useful information!! thanks! |
I wonder about iOS as well, is it possible to do something for this in |
Of course! I will also modify iOS code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 💯 💯 amazing!
Your app is deployed! Try it via https://deploygate.com/distributions/e5e47d1b17a3bb5322853fbfe3a87622813c2a07 |
Apk comparision results
Generated by 🚫 Danger |
Asserted successfully. 💯 Generated by 🚫 Danger |
Issue
Overview (Required)
I think using HTTP with gzip compression is a good way to reduce network traffic.
OkHttp adds
Content-Encoding: gzip
header automatically. However, to enable gzip in GoogleAppEngine, it must also be included in User-Agent.Links
Screenshot
Before ⬇️
After ⬇️
I confirmed that the traffic of the
timetable
decreased to 1/3 by the Android Profiler.