I am using Volley library in android.I run the same url in the browser and it returns in less than a second.I would like to know , how can optimize Volley? Not clear on what is
Try To use this Enhanced-volley
This project is based on the Volley Networking Toolkit for Android created by Google themselves. The toolkit itself is really great and extensible, but it is missing a few features. This project aims to add those features to the Volley toolkit to make it a more complete HTTP solution.
Also you can custom libs which uses Java NIO(new IO) to improve callback/response time. using Socket.IO
Some people also trying to use volley with OKHTTP
Thanks to Mr.Vinay