wrong cache ... howto disable dns prefetch
Hello everyone,
my Wifi network authentication using captive portal, therefore, when I try to go on my home page (eg google) actually come redirected to a site where I have to write your username and password. In practice, this network firewall sees a connection attempt to the outside from a location not authenticated and redirected to the portal authentication. The problem is the DNS prefetching, or browser's cache. At the first connection on my home page Firefox stores the IP address of the captive portal and associate it to my home page (eg google) , after that I never can't view google site.
I've tried almost all of them, for example in the HTML of the portal I added:
<meta http-equiv="x-dns-prefetch-control" content="off"> <meta http-equiv="cache-control" content="max-age=0, no-cache, no store, must-revalidate"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Expires" Content="Mon, 25 May 2009 19:07:03 GMT"> <meta http-equiv="PRAGMA" Content="no-cache"/>
then I changed the configuration of firefox, vers. 3.6.13, about: config adding:
network.dns.disablePrefetch (true) network.dns.disablePrefetchFromHTTPS (true)
but none of this was successful, someone can help me ? thank you very much Greetings
Hello everyone,
my Wifi network authentication using captive portal, therefore,
when I try to go on my home page (eg google) actually come
redirected to a site where I have to write your username and password.
In practice, this network firewall sees a connection attempt to
the outside from a location not authenticated and redirected to the portal authentication.
The problem is the DNS prefetching, or browser's cache. At the first connection on my home page Firefox stores the IP address of the captive portal and associate it to my home page (eg google) , after
that I never can't view google site.
I've tried almost all of them, for example in the HTML of the portal I
added:
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta http-equiv="cache-control" content="max-age=0, no-cache, no store, must-revalidate">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Expires" Content="Mon, 25 May 2009 19:07:03 GMT">
<meta http-equiv="PRAGMA" Content="no-cache"/>
then I changed the configuration of firefox, vers. 3.6.13, about: config
adding:
network.dns.disablePrefetch (true)
network.dns.disablePrefetchFromHTTPS (true)
but none of this was successful, someone
can help me ?
thank you very much
Greetings