Re: Rest API
Hi Team,
I have created a separate page called showproducts.php (Client application that is hosted in separate website domain, not the main website where X-Cart 5.2.15 is hosted). I have accessed the main site products data using REST API. I am facing two problems at the moment.
1) In the single call "all products, categories, manufacturers, pages" are called. We have created one custom module and when the module is enabled, all these data are pulled in a single web service call. It is very heave data. Obviously this substantially increases the page loading. will it be possible to access products data separately, categories data separately by calling different web service call when the module is enabled. I am able to create different web services by creating different modules for each service. I do want "One module, multiple web services"
2) The main site has more than 30,000 products. I can use limit option to pull first 1000 records. We don't want to call web services to load 20/100 products every time. In this case, "Time To First Byte (TTFB) is very long" when we work in local enviornment or another server. How can this be increased.
Thanks,
Vigneshkutty,
X-Cart.5.2.15.
__________________
kutty
|