Optimizing Woocommmerce Rest API value calls
-
ON the front page, there is a filter. Each filter is calling values from woo-commerce attribute.
Each drop down is making this call
Simply the problem is that This is taking hell lot of time, despite being on VPS. How can this be optimized so that after first field is selected, next loads really quickly.
Also the above calls fetch data like,
[{“id”:633,”name”:”1000VA”,”slug”:”1000va”,”description”:””,”menu_order”:0,”count”:1,”_links”:{“self”:[{“href”:”https:\/\/oranonline.in\/wp-json\/wc\/v2\/products\/attributes\/18\/terms\/633″}],”collection”:[{“href”:”https:\/\/oranonline.in\/wp-json\/wc\/v2\/products\/attributes\/18\/terms”}]}},
and many more. If we can reduce the loading time, it would be of great help.
I am Using a VPS from Bluehost.
Also using this plugin, https://ww.wp.xz.cn/plugins/wp-rest-api-cache/The page I need help with: [log in to see the link]
The topic ‘Optimizing Woocommmerce Rest API value calls’ is closed to new replies.