Why does jQuery.ajax() add a parameter to the url?

That is a ‘cache-buster’ and is ignored.

The added parameter changes the url just enough to bypass most all caches that are between you and the source.

If the Url was not modified, it is likely that data would be served from any one of the caches between you and the resource, including your browser, any proxies, and perhaps the server itself.

You can find a lot of explanations on the net. Here is one.

Leave a Comment