Not signed in (Sign In)
The Intervals Forum is read-only
Please head to for help articles and guides. If you have any questions, please contact our support team.


Tips & Tricks: Bypassing browser cache on AJAX calls

Bottom of Page


    Oftentimes, browsers can cache aggressively, even storing the XML responses to AJAX requests, preventing developers from requesting fresh data. Older versions of Internet Explorer are notoriously bad at this.

    Developers usually get around this by appending a random param key/value pair to their request URI, such that


    Unfortunately, this strategy doesn't work with the Intervals API, as it will ordinarily reject any request param not explicitly listed in the resource's documentation. A trick to getting around this is to add a parameter called rnd (and you can use any number as the value). This will trick the browser into making a new request, and the API will strip it out and not parse it as a list filter. To use it, your requests should look like this:

Comments are closed.
For more Intervals help documentation, please visit