Matt_Breedlove_
Aug 01, 2011Nimbostratus
Solved
Nullifying a particular GET request inside a TCP connection
Situation is a single tcp connection from one client to one server using a VS. Client makes multiple GET requests to the VS using the same tcp connection.
One of those GET requests I would like to nullify meaning that the client makes the GET request along with many others, but when the one to nullify comes in the response given back to the client lets them move on with page rendering as quickly as possible.
I don't think discard/reject will work in the http_request event as it will just kill the whole tcp connection and all the good get requests using that connection. Dont want to involve the actual servers by using a dummy payload to redirect or send back from the server and don't want to store any actual content data on the LTM
What about just returning status==200 with no actual payload when the VS sees the GET request to nullify...is that the right way to do this? Will the browser just move on rendering page elements, making othe get requests, etc or will it spend extra milliseconds dealing with a 200 response with no data?
Most importantly wanting to prevent page rendering time from being impacted
Thanks
M
- Its all in the details.... in this case /favicon.ico is used for http://www.chami.com/tips/internet/110599I.html
when HTTP_REQUEST {
if { [HTTP::uri] equals {/favicon.ico} } { HTTP::respond 404 }