form action from domain1.com to domain2.com takes long time, origin issue?

43 views Asked by At

I have a simple html form that form action is always a URL of domain1.com, where it is processed by a php/js app.

When I put and submit the form on domain1.com (where it also is sent to and processed) it takes just 1 second.

When I put and submit the form on domain2.com (form action is still a URL on domain1.com) it takes up to ~30 seconds.

I think it is some server settings that needs to be tweaked on domain1.com that makes problems when the form is not submitted from same domain.

How can I fix this so that the form submitting in any case just takes 1 second?

enter image description here

0

There are 0 answers