 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
July 25, 2017 at 3:36 pm #829669Hi, im having a issue with woocommerce ajax, both ‘admin-ajax.php’ and ‘/?wc-ajax=get_refreshed_fragments’, they are taking almost two seconds to load, and its slowing down my website isopasse.com.br. Is there a way to make it faster without disabling it? Thanks. July 27, 2017 at 10:09 am #830552Hey Guilherme, Please, may you provide to us your website link and the WP and FTP credentials? Best regards, 
 John TorvikJuly 27, 2017 at 1:42 pm #830638hi, in the private August 1, 2017 at 11:59 am #832783Hi, The script loads in about 1.10s secs which is quite slow, indeed. Is the site on a shared hosting? I do found an error in the console after adding a product. validador-wc.js:1 Uncaught TypeError: $ is not a function 
 at validar (validador-wc.js:1)
 at dispatch (wp-includes-js-jquery-jquery-1.12.4.js:1)
 at r.handle (wp-includes-js-jquery-jquery-1.12.4.js:1)Do you need the “validator” plugin? Please deactivate it temporarily then test the page again. Best regards, 
 IsmaelAugust 1, 2017 at 12:02 pm #832788Hi, UPDATE: Please try the following code in the functions.php file. /** * Dequeue wc-fragments * Removes synchronous wp-admin/ajax request that happened on every page load when cart is non-empty. * This script is not in use and should be safe to disable. */ function dequeue_wc_fragments() { wp_dequeue_script( 'wc-cart-fragments' ); } add_action( 'wp_enqueue_scripts', 'dequeue_wc_fragments', 100 );NOTE: This may cause a few errors in the cart. Let us know if you find anything. Best regards, 
 IsmaelAugust 1, 2017 at 2:05 pm #832870Hi @ismael, i deactivate the plugin, this code you gave me broke the cart popup and counter. still the admin-ajax.php is taking a lifetime to load, and this stats to happen after the last update, before it was really fast so much that i only realise that now August 6, 2017 at 6:53 am #834944Hi, The site speed is below average when I checked it on pingdom but you can improve it by doing the following steps. // https://kriesi.at/support/topic/site-running-very-slow/#post-762802 
 // https://kriesi.at/support/topic/seo-google-page-insights-blocking-rendering-ressources-above-the-fold/#post-720432Best regards, 
 Ismael
- 
		AuthorPosts
- You must be logged in to reply to this topic.
