BACK TO DIRECTORY

Optimize AdScale Calls For WooCommerce

by eddr

0.0
(0 ratings)

UPDATE: The plugin is no longer needed as Adscale fixed the issue. Please use the official adscale plugin

TL;DR : Reduces the excess of AJAX calls that the official adscale plugins generates.

Adscale official WooCommerce plugin creates an ajax call on every page load, to get cart data. The AJAX call is run every time, no matter if the cart is empty or hasn’t changed at all and thus, many multiple unneccesarry AJAX calls are run and server resources are used.

This plugin checks if the woocommerce_cart_hash changed and if not, prevents the XHR from running.

At this point, the plugin has no options, nor does it return the previous cart contents for the XHR, only blocks the new XHR calls.

Please check : https://adscale.com/integrations/woocommerce/

Plugin Details

Active Installs
10
Total Downloads
2,251
Version
0.3.1
Requires WP
5.9
Requires PHP
7.0
Tested Up To
6.4.10
Added
2024-01-16
Last Updated
2024-01-23 10:44am GMT

Ratings

5
0
4
0
3
0
2
0
1
0