Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
¿Cómo evito que JQuery.ajax mantenga todos los contenidos de respuesta en la memoria?

Estoy usando $.ajax para descargar un CSV grande, que estoy procesando a medida que se descarga usando onprogress . Prefiero no retener todo el contenido del archivo en la memoria para que mi herramienta tenga menos espacio en la memoria. Pero no sé cómo evitar que jquery retenga todo el contenido de csv para pasar al método done .

 $.ajax(url, { xhrFields: { onprogress: function (e) { //load up lines from this part of the file using e.currentTarget.response } } }) .done(function (res) { //don't need res here as processing is already done. })

¿Alguien sabe si hay alguna forma de lograr esto usando $.ajax o algo equivalente?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!