How can I disable/decrease the number of calls to getAuthTimeout? The host of a client is claiming the call to getAuthTimeout is triggering their firewall, and in turn blocks my client from accessing their site for a longer duration.

Is there a way to disable or change the interval?
Unfortunately, the AJAX call to getAuthTimeout is hard coded to fire every 60 seconds. In other words, if you're looking for a config value, there isn't one – might be worth a feature request?

For a quickfix/hack, you can create a custom plugin and add the following to its init method:

craft()-&gt;templates-&gt;includeJs('(function () {
    Craft.AuthManager.checkInterval = 600; // Ten minutes
}());', true);


You can change the 600 to any number of seconds, of course.

If you want to kill the timeout check completely, you can do this instead of the above:

craft()-&gt;templates-&gt;includeJs('(function () {
    Craft.AuthManager.prototype.setCheckAuthTimeoutTimer = function () {};
}());', true);


Of course, both of these snippets are total hacks. Use with caution!

One important thing to note is that I don't think its possible to stop the first AJAX call to getAuthTimeout (which will fire after 60 seconds). The reason is that by the time the JavaScript hack inside the includeJs handler has fired, the Craft.AuthManager class has already been initialized and created the first timeout object. There's no reference to this timeout stored anywhere on the Craft object (that I've been able to find, at least), which makes it impossible to clear it, unfortunately.