To enhance the user experience and serve the web-pages faster, Firefox has in-built DNS caching mechanism. Firefox browser being compatible with multiple platforms, it does make perfect sense to not depend on the operating system for DNS caching. This caching is turned on by default and stores the IP Address of all the recently visited websites allowing Firefox to avoid a request to DNS for getting the IP Address and thus serving the page faster.
The DNS Caching in Firefox has been designed keeping the normal browsing behaviour of users and could be be a problem when you want to set the IP Address manaully for some testing purpose (e.g. via a hosts file). However, for the benefit such advanced users who use hosts file to manually control the IP Address, Firefox has given a way to disable the DNS Caching feature. This is done by creating an integer preference value "network.dnsCacheExpiration" in FireFox about:config and setting a value '0' (zero) for this.
If Firefox DNS Caching is disabled, it uses the DNS Caching provided by OS.
No comments:
Post a Comment