With jQuery, you probably want to explicitly add an If-Modified-Since header with a parameter ifModifiedthat is false by default:
$.ajax({
...
ifModified: true,
...
});
There is also an option cachethat you will need to force true if your data type is jsonpor script. This is true by default for other data types.
For a description of these options, see jQuery.ajax()docs .