Conditional async ajax call in parallel
I have a similar question to Elegant solution to conditional AJAX call, where a parameter is loaded via an API call and cached before subsequent AJAX calls, with the additional requirement that this is run in parallel to another AJAX call.