×

Notice

The forum is in read only mode.

Frontend freeze when apply to job

6 years 7 months ago #5497 by webnalta
Hi all, my quastion concerns jsjobs pro.

The user is logged in and has already a PDF resume in the system.
When the user applies for a job, the browser freezes for an average of 15 seconds.

web browser console shows that
mywwebsite.test.org/index.php?option=com...obapply.jobapplyajax
has a TTFB around 15 seconds.

My guess is that the email is sent synchronously, instead of asynchronously : how to chagne that?
For instance, when admin email notification are sent, the administrator is not stuck during that time.

I am looking for advices, configuration tweaking as well as PHP snippets.
6 years 7 months ago #5499 by Ahmad
Hi,

Normally this process do not take time, but some emails server take time to send emails.

Their are some limitations.
stackoverflow.com/questions/13846192/php...ction-asynchronously

Please write your valuable review JS Jobs and JS Support Ticket at JED.
6 years 7 months ago #5501 by webnalta
Hi,

That is not my question: how does this happens only on frontend?
Is it because you want to inform the frontend user?

I am strongly considering to apply the backend way of sending email to the frontend (as soon as I figured out how all all this works).
In the meanwhile, I will add a loader popin.
Time to create page: 0.064 seconds

Please publish modules in offcanvas position.