Use the Cache Module for API interactions

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPrint this page

The key feature of every application is the speed, this plugin code is very well optimized (the difference from being inactive is approximately 0.07 seconds), so the faster code run the better overall performance. Google also put a huge accent on page loading speed, a better performance conclude to a better page rank and display position. On a WordPress instance, lot’s of other codes (plugins and theme) are loaded and executed, including WordPress framework core which generally makes the response time over several seconds. This also depends on the server architecture, expensive servers would run much faster than a regular cost machine.

But this is not all, as in a given time-frame, multiple users can navigate through your site and access different pages, imagine that server will need to process all these, accordingly.

Over the time, every shop increase it’s customer list, they come back to check with products download, update, account status etc. API interactions also increase if automatic product update functionality is used. Generally this conclude to an increase on server resources usage, most of the time shop owners end up by migrating to a better hosting, however with important additional costs. From our tests along other similar plugins on the market (i.e.WooCommerce API Manager) on a regular server (14$/ month) it would support maximum ~200 clients including API usage with products update. Remember that client software interact with API from time to time for update checking and other type of management (i.e. activation check, domain protection). Above the mentioned number, the processing speed decrease dramatically as customer list increase. Ultimately, the server admin may block your account for exceeding resources usage.

This is where our unique functionality Cache Module came in, it’s a very fast solution to speed up API interactions, releasing other server resources for a regular page load. Tests revealed that it’s 35 times faster than a regular WordPress call, making our product virtually capable to run a huge amount of API interactions (thousand per day), maintaining a very low server resources usage.

The overall speed on a large number of interactions (1000 calls), a regular server will need 114 seconds to process the data (under 2 minutes), while on other code 4259 seconds (near 71 minutes), away much longer.

The Cache Module is easy to deploy, this ca be done automatically through WordPress Dashboard at WooCommerce > Settings > Products > License Products, the Use Cache Module for API interactions  checkbox need to be selected.


By woocommerce-sl, posted on August 1, 2017

Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Manish Shah

I disabled the cache but still the update notification popup in user/client website shows old description, installation, etc i.e. all meta fields are cached. How to solve that?