LiveChat causes slow down in Page Load Speed/Time
-
I am noticing (when running speed tests using GTMetrix), that admin-ajax.php was causing 10+ second delays.
After I enabled the admin-ajax debug using wp-config.php, I was able to collect the wpe_admin_ajax.log. The log shows about 90 queries by Live Chat for action “wc-livechat-check-cart” in just 1 minute.
Here is a sample from the log:
(
[action] => wc-livechat-check-cart
)
\nArray
(
[action] => wc-livechat-check-cart
[_ga] => GA1.3.2059938626.1497597634
[_gid] => GA1.3.2118358805.1497597634
[__lc_visitor_id_8483057] => S1497597641.9b3f74d879
[wp_woocommerce_session_4970599edf142eda2d04c3d5c41b24c2] => d897d98df8395b640050daa81b027bde||1497770627||1497767027||1b8171bac22769e429984023a06584fb
[woocommerce_items_in_cart] => 1
[woocommerce_cart_hash] => 42a5aa3e1ff6dd4715499d13b6392254
[lc_window_state] => minimized
)Any ideas on how to fix this? This is causing a delay in page load times on every page since Livechat is on every page.
- The topic ‘LiveChat causes slow down in Page Load Speed/Time’ is closed to new replies.