Skip to main content

Posts

Showing posts with the label nonblocking

Non-blocking javascript and css in modern browsers. Is it still needed?

I am playing a little with some non-blocking JavaScript loading. This means I have a small snippet of JavaScript in my head , and load all my external files at runtime. I even took it a little further to load CSS non-blocking.

Undefined Constant MYSQLI_ASYNC - Non blocking queries in PHP

I understand that mysqlnd allows non blocking queries. However, I'm trying: // goes without saying this code works correctly when second parameter is ommitted $link->query($myQuery, MYSQLI_ASYNC); The error I get is:"Notice: use of undefined constant MYSQLI_ASYNC assumed 'MYSQLI_ASYNC' " and ensuing errors. PHP Version: 5.3.5-1 ubuntu7.4 I don't know if I actually have mysqlnd installed/activated, and I can't find a good resource on how to tell if it is. Help?