I'm using an angular service to GET a resource via a rest api. The server sets the ETag
header to some value and it also sets Cache-Control: no-cache
in it's response.
This works as expected using Firefox, but when I access the same app using Chrome, it is not sending the If-None-Match
. I've tried on current Chrome dev and stable channels on both a Mac and an Ubuntu box, and it was the same on both, while Firefox was adding the If-None-Match
correctly.
Now, there are other non-xhr/static resources that are fetched conditionally and all those requests correctly get a 304 NOT MODIFIED
response.
Is there anything I can do to get more information about why Chrome is not sending the If-None-Match
header only for XHR requests?