0

I am currently developing an application for mobile devices made in ANGULAR.js. This works with requests $http, uploading files .json more than 16000 records, and weighing more than 10mb. I want to know a way to compress the json file or something so not much despite my application. I need ideas for my application performance. if I can recommend examples would be very grateful.I am new in Angular.js.

I'm not sure if gzip is a good solution. if it could give me an example where you can see how the request is made to a Web service and how it can help to compress information.

5
  • 1
    Yes, gzip is perfect. See: stackoverflow.com/questions/702124/enable-iis7-gzip Commented May 16, 2016 at 21:04
  • @MaxSorin I need a practical example in which you can make an example for angular.js Commented May 16, 2016 at 21:11
  • The client takes the gzip header supplied by the server and knows how to decode the content. Angular does not see or care that the content of the response was zipped. Commented May 16, 2016 at 21:18
  • 1
    Look into this: stackoverflow.com/questions/34251856/… for uploading files from the app. Commented May 16, 2016 at 21:22
  • @MaxSorin It is difficult, and I need something similar but in AngularJS Commented May 16, 2016 at 22:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.