C
C
CrewCut2017-01-27 14:24:51
API
CrewCut, 2017-01-27 14:24:51

Are there ready-made shipping cost bases for quick derivation of approximate data?

It is necessary to display the cost and delivery time for the client's city in the product card. If you access the API every time and calculate it, it will take a long time + eats up resources. I decided to make a single json array of approximate results, which will be updated once a week.
Maybe I'm reinventing the wheel and there are already such bases, as they usually do in such cases? TK Russian Post and Boxberry

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rifat, 2017-01-27
@serber

Use data caching. You can implement a simple cache yourself, you can use ready-made solutions (Redis, for example).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question