bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
110 stars 48 forks source link

cache product meta #448

Open bc-toyin opened 1 year ago

bc-toyin commented 1 year ago

cache product meta

What?

This caches product meta information and includes support for channel_ids.

karmatosed commented 2 months ago

@bc-toyin would you be able to provide more information about what this solves issue wise please and if the issue still exists after the time that has passed? It might, but it would be great to work out how to move on this PR for you.

cc @bc-erich

bc-toyin commented 2 months ago

When products data is requested, check if a cache exist of the data and use that data. If not, cache of the data that lasts for an hour.

chanceaclark commented 2 months ago

Hey @bc-toyin, mind if you provide a proof of life that this works?