The Frontier logo The Frontier logo
04:58
Sam Landfried

Throttling Ajax Requests

Sam Landfried | Mar 05, 2018

How do you throttle Ajax Requests?

We can control the frequency with which certain functions can be invoked using a higher-order function to throttle functions just like a car’s throttle controls how much gas is delivered to the engine. This screencast describes a challenge we faced in deciding when to make an Ajax request and how throttling solved the problem.

Vimeo Player.js API Documentation
AJAX Introduction from w3schools