Automattic / woocommerce-services

WooCommerce Services is a feature plugin that integrates hosted services into WooCommerce (3.0+), and currently includes automated tax rates and the ability to purchase and print USPS shipping labels.
GNU General Public License v2.0
107 stars 20 forks source link

Cache or bulk fetch API responses in order admin screens. #2782

Open vedanshujain opened 3 months ago

vedanshujain commented 3 months ago

Seems like we do lot of API fetch on order admin or order edit screens. This cause slow page loads as individual requests adds up. Can we consider either bulk fetching all the data that we are going to need, or perhaps cache data that can be cached. Currently we add up to 1-2s in the page load time:

Screenshot 2024-07-29 at 3 53 41 PM
geektzu commented 3 months ago

hi team,

Just check in if there is any ETA to fix this issue?