ajaxSend event, canceling a request

ajaxSend event, canceling a request


There doesn't seem to be a way to cancel a request using the global
ajaxSend event, though it's possible with a beforeSend callback on
each individual request, by returning false. It seems this would be
useful to have for global validations of sorts. In my particular use
case I want to check if the page is cached locally then skip the
request step if it is, but keep all of the parameters of the request
to continue as if it had been a real request.
Currently, I switched the order of ajaxSend to right before the
beforeSend callback in the $.ajax definition, and in my ajaxSend
callback I add a beforeSend callback to the options that returns
false. This works, but I don't want to keep an unstandard library.
I haven't seen another way to globally validate each request, or have
I missed something?