A plugin to limit AdScale XHR requests, in case the WC cart hasn’t changed. To be used with Adscales’ official plugin : https://adscale.com/integrations/woocommerce/
| Author: | eddr (profile at wordpress.org) |
| WordPress version required: | 5.9 |
| WordPress version tested: | 6.4.2 |
| Plugin version: | 0.3.1 |
| Added to WordPress repository: | 16-01-2024 |
| Last updated: | 23-01-2024
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 2 383 |
| Active installs: | 10+ |
![]() Click to start download |
|
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/
ChangeLog
