?huajax=1 still killing me in 3.313
-
my site:
investmentwatchblog.com
?huajax=1 still killing my site. takes 22 sec to load. This is awful.
Performance result:
https://gtmetrix.com/reports/investmentwatchblog.com/kdShXRaz
the CPU just spike with a little increase of traffic or little traffic. This bug caused me dearly.
Please email me the solution, its urgent.
This is my functions/init-front.php:
// Will be used by hu_is_ajax();
if ( ! defined( ‘DOING_AJAX’ ) )
define( ‘DOING_AJAX’, true );//Nonce is not needed as long as we don’t write in the db
//Furthermore, when a cache plugin is used, front nonces can not be used.
//@see https://github.com/presscustomizr/hueman/issues/512
//’frontNonce’ => array( ‘id’ => ‘HuFrontNonce’, ‘handle’ => wp_create_nonce( ‘hu-front-nonce’ ) )
//check_ajax_referer( ‘hu-front-nonce’, ‘HuFrontNonce’ );@header( ‘Content-Type: text/html; charset=’ . get_option( ‘blog_charset’ ) );
send_nosniff_header();$action = $_REQUEST[‘action’];//we know it is set at this point
do_action( “hu_ajax_{$action}” );
die( ‘0’ );
- The topic ‘?huajax=1 still killing me in 3.313’ is closed to new replies.