Welcome Guest, Not a member yet? Register   Sign In
[solved] Delay in ajax response time
#9

(10-23-2017, 08:52 AM)InsiteFX Wrote: You could try this also using pure PHP.

PHP Code:
// Instead of this
$this->output->set_content_type('application/json');
$this->output->set_output(json_encode($json));

// Try this it might speed it up pure PHP
header('Content-type: application/json');
echo 
json_encode($json); 

Its the email send() that delays it.
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: Delay in ajax response time - by InsiteFX - 10-22-2017, 03:22 AM
RE: Delay in ajax response time - by wolfgang1983 - 10-22-2017, 09:57 PM
RE: Delay in ajax response time - by wolfgang1983 - 10-22-2017, 04:01 PM
RE: Delay in ajax response time - by skunkbad - 10-22-2017, 11:02 PM
RE: Delay in ajax response time - by wolfgang1983 - 10-22-2017, 11:28 PM
RE: Delay in ajax response time - by skunkbad - 10-23-2017, 04:32 PM
RE: Delay in ajax response time - by wolfgang1983 - 10-24-2017, 03:50 AM
RE: Delay in ajax response time - by InsiteFX - 10-23-2017, 08:52 AM
RE: Delay in ajax response time - by wolfgang1983 - 10-23-2017, 11:50 AM
RE: Delay in ajax response time - by wolfgang1983 - 10-24-2017, 03:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB