performance - Ajax request delay 1 second -


this time problem delay between ajax request, , php file response.i have checked out google chrome statistics, , shows exact 1 second wait time every time function loops , sends ajax request.this makes script pretty unusable cause slows much, browser get's unresponsive till executes full loop.

i tried remove mysql queries, exclude mysql problem, , delay still existed.im pretty sure it's not mysql taking long execute.

does have idea may delay caused on.maybe it's settings on pc, or ajax?

thank


maybe help

maybe explain better.

yes!i've figured out.apearantly mysql connection have taken it's time, reason i've used localhost initiate connection instead 127.0.0.1.now it's much faster! :d .no reason blaming ajax, simple 127.0.0.1 did trick.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -