Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1495

How to detect "typed-in" http request?

$
0
0

A few years ago I found that behavior of Internet browsers changed. A new class of HTTP requests started to happen; they are HTTP requests created by the browsers when a user simply type in a web address in an URL-field. Even though the user does not hit "Enter" to go to the page, the HTTP requests happen and the server does all the job as if the user just landed on the page. All the database queries, calculations and all that sort of jobs are done, but the output goes nowhere. When a user hits "Enter" everything is repeated again and this time the output goes to the user. So, server does its job twice. On a larger scale it is a performance issue.

Question: how to detect so called "typed-in HTTP requests" made by browser from those when the user actually goes to a page? Is there a special variable on Request.ServerVariables?

Checked Request.ServerVariables documentation.


Viewing all articles
Browse latest Browse all 1495

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>