Ajax : disable local cache


I would like to make an ajax call without setting the cacheBust param to true. After several call on the same url, the request is not fire anymore. Is it possible to disable the "local cache" and not having the random param at the end of url?



  • Do you control the server? Using a POST instead of a GET should avoid caching; you also can have the server send a "Cache-Control: no-cache" HTTP header.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!