Title: Support Async Processing?
Last modified: July 16, 2017

---

# Support Async Processing?

 *  [dmk23](https://wordpress.org/support/users/dmk23/)
 * (@dmk23)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/support-async-processing/)
 * I noticed that this plugin significantly slows down the form submission.
 * On a form with first/last names + email + 9 hidden tracking fields it takes ~
   2 seconds to submit a form without Google Sheets processor and ~4 seconds if 
   it is enabled
 * I tried disabling header verification but it didn’t change the timing. Disabling
   spreadsheet onChange triggers also did not change anything
 * What could be done to improve the performance? Seems like the kind of things 
   this plugin does could be fired off asynchronously to not wait for Google Sheets
   to respond
 * Could this be done? Anything else could be done to improve performance?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Alex Agranov](https://wordpress.org/support/users/alexagr/)
 * (@alexagr)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/support-async-processing/#post-9323689)
 * Additional 2 seconds don’t look like a big deal to me. And in my experience the
   processing time is roughly the same even for complex forms with around 50 fields(
   if you turn off header verification).
 * Asynchronous code would require a major plugin rewrite – which IMO is not worth
   it.
 *  Thread Starter [dmk23](https://wordpress.org/support/users/dmk23/)
 * (@dmk23)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/support-async-processing/#post-9323711)
 * Any extra second is a huge deal for usability, especially if the forms are used
   for high-value conversions …
 * What makes async submission so hard to do? I suppose it could be only done for
   the case with header checking disabled and would involve just one call to Google
   Sheets to append a row. Is async fire-and-forget not viable in PHP?
 *  Plugin Author [Alex Agranov](https://wordpress.org/support/users/alexagr/)
 * (@alexagr)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/support-async-processing/#post-9323731)
 * You are welcome to take a look at the addon source code and modify it as you 
   wish. If you manage to hack the async mod I’ll be happy to merge your code.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Support Async Processing?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf-google-sheets_e1e4da.svg)
 * [Google Sheets Integration for Caldera Forms](https://wordpress.org/plugins/cf-google-sheets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf-google-sheets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf-google-sheets/)
 * [Active Topics](https://wordpress.org/support/plugin/cf-google-sheets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf-google-sheets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf-google-sheets/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alex Agranov](https://wordpress.org/support/users/alexagr/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/support-async-processing/#post-9323731)
 * Status: not resolved