How do I make sure in jQuery that server responds with 304 only after a successful 200 request.
I am seeing this issue where client (browser which is making a jquery.ajax() call ) closes a connection, but subsequent requests from client to server result in 304 response code.
The file being served is a static file.