惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
News | PayPal Newsroom
The Last Watchdog
The Last Watchdog
S
Secure Thoughts
Forbes - Security
Forbes - Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
PCI Perspectives
PCI Perspectives
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Last Week in AI
Last Week in AI
Blog — PlanetScale
Blog — PlanetScale
Hacker News: Ask HN
Hacker News: Ask HN
H
Heimdal Security Blog
D
Docker
Cloudbric
Cloudbric
P
Privacy International News Feed
S
Security Affairs
TaoSecurity Blog
TaoSecurity Blog
博客园 - 聂微东
WordPress大学
WordPress大学
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tenable Blog
Scott Helme
Scott Helme
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
P
Palo Alto Networks Blog
小众软件
小众软件
L
LINUX DO - 最新话题
美团技术团队
Google Online Security Blog
Google Online Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
The Hacker News
The Hacker News
Webroot Blog
Webroot Blog
T
Tor Project blog
G
Google Developers Blog
A
About on SuperTechFans
Y
Y Combinator Blog
K
Kaspersky official blog
A
Arctic Wolf
量子位
I
InfoQ
V
Visual Studio Blog
T
Troy Hunt's Blog
C
Cybersecurity and Infrastructure Security Agency CISA
J
Java Code Geeks
博客园 - 【当耐特】
GbyAI
GbyAI

endtimes.dev

Happy new year | endtimes.dev why lowercase letters save data Practical betterments | endtimes.dev Short posts and some site updates Input Output | endtimes.dev Actually, dark mode can save the planet Why your website should be under 14kB in size HTML and CSS only multiple color scheme picker Why your website should work without Javascript. An HTML and CSS only dark-mode toggle button. you can use css to remove the double-tap zoom feature on iOs Missing Dice | endtimes.dev Can Dark Mode Save Battery Life and Human Civilzation? Add spaces to the dock on MacOS You can leave out <html>, <head>, and <body> tags. Listen for changes between dark and light mode with javascript Use a keyboard shortcut to quickly toggle light and dark mode on MacOs. Why Your Website Should Use Dithered Images You can restore the startup chimes on MacOS Emoji Clipboard | endtimes.dev You can use Emojis as Favicons .dev and HSTS preload | endtimes.dev Prod — Block Distractions. Achieve your goals. Pattern generator | endtimes.dev Green Quarantine | endtimes.dev Qwitter Bot | endtimes.dev
Your DNS has a significant impact on site speed.
2021-01-03 · via endtimes.dev

I've started compiling a list of website performance optimizations. So for every decision made while building a site you can include performance in the decision making process. (I'll eventually make the full list a fun public thing.)

Choosing a domain name and where it's hosted is often one of the first decisions we make when building a website.

So, does the company your domain name is registered with have an impact on site speed? yep.

What are DNS and nameservers? #

DNS #

DNS is short for Domain Name System. Every web host has a unique ip address, a series of numbers that identify it. (actually they usually have lots of them).

ip addresses are how web browsers communicate with servers.

These numbers are not human friendly, and can change. So instead we use DNS to convert domain names to ip addresses. e.g. example.com93.184.216.34

Nameserver #

A nameserver is the service used to find the ip address for a given domain name. By default the nameserver for your domain is the domain name provider your bought it from. e.g. namecheap or godaddy. But it can be changed.

We usually don't have to think about this part of web development, and it's extremely boring. However, it does have an impact on performance.

How to check your nameserver speed? #

You can compare the perfomance of different nameservers using dnsperf.com.

Is this worth thinking about? #

The difference in nameservers speed is in the milliecond range. Choosing nameservers for speed could save around 50ms on your initial load time.

Once a device has visited your site it will cache the ip address and won't need to query the nameserver again. Not anytime soon anyway.

Is saving 50ms on initial requests to your site worth thinking about? I think so. Twenty similar optimizations and you've shaved off 1 second. That's definitly worth it.

published
3 Jan 2021
modified
3 Jan 2021
author
Nathaniel
tags
posts dns web performance zzz