How to disable cache ajax request!

Target Envirment is a comment ajax loading view.

It will load newest comments after user submit a new comment .

But under IE6 its always cached ,and the reasone is the same url.

And Jquery catche propertiy set to false is not effected.

what simpplest is to add a random to the url make the request diffrent.

Just like:"/ajax/GetComments?ramdon="+(new Date()).getTime()

And another is use Math.random but i think nothing is more uniquess than time :)

How can help you!

你可能感兴趣的:(request)