If you don't want to send any data, just omit the data parameter or change it to data: {} (without quotes). It thinks you want to send the string {} The parameter is sent because you specified cache: false Besides, I think you should not 'build' the URL with the parameters yourself and pass an empty data object. JQuery does it for you i.e.
Instead of $. Ajax({ type: "GET", url: "http://mydomain/service? Date=" + mydate, data: {} }) Do this $.
Ajax({ type: "GET", url: "mydomain/service", //this remains constant data: {date: mydate} }).
If you don't want to send any data, just omit the data parameter or change it to data: {} (without quotes). It thinks you want to send the string "{}". The parameter _ is sent because you specified cache: false.
Besides, I think you should not 'build' the URL with the parameters yourself and pass an empty data object. JQuery does it for you. I.e.
Instead of $. Ajax({ type: "GET", url: "http://mydomain/service? Date=" + mydate, data: {} }); Do this $.
Ajax({ type: "GET", url: "mydomain/service", //this remains constant data: {date: mydate} }).
– Martin Jan 12 '10 at 20:48 Yes, it will be converted to query string if it's not a string already – Chetan Sastry Jan 12 '10 at 21:07.
The server will return a 304 error response for NOT MODIFIED and the browser will have to use its cache. If the etag doesn't validate on server side or the modified date is below the current modified date, the server should return the new content with the new modified date or etags or both. If there is no caching data sent to the browser, I guess the behavior is undetermined, the browser may or may not cache file that don't tell how they are cached.
If you set caching parameters in the response it will cache your files correctly and the server then may choose to return a 304 error, or the new content. This is how it should be done. Using random params or version number in urls is more like a hack than anything.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.