9 years ago 5,778 views
9 years ago 5,778 views
Speaker: Jimmy Fursmanhttps://nomadphp.com/category/lightni...A very basic limit we all run into when getting a general API off the ground often includes rate limits on our API keys with secondary data providers.Maybe you don’t have the budget to purchase more requests yet, maybe you haven’t built a caching system yet. Maybe you need current data, but not necessarily real time.I ran into this problem over the summer and solved it with no dependencies to PHP with Varnish.Varnish is a reverse proxy cache that is typically used for presenting front end content very quickly, but it’s configuration works on url strings. It’s very simple to set it up in front of common and generic endpoints with a short TTL to allow for reuse of data from your secondary providers.