-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
谈谈你对 dns-prefetch 的理解 #36
Comments
知识盲区,特地bd了一下。其实从释义中也能看出来了:DNS预获取,那么跟xx预加载的作用肯定也是类似的,无非是为了加快资源的获取速度,提升用户体验。 我觉得这跟系统中的hosts文件是类似的,但还是有区别,预加载的特点在于:动态、缓存,而hosts却是静态的,它无法从网络动态获取并更新映射内容;浏览器会优先从hosts中获取域名ip映射,从而减少已知ip的域名仍要访问域名服务器带来的时间及带宽成本。 总的来说,使用DNS Prefetch的优势是显而易见的,相较于频繁的访问DNS带来的用户体检下降,能利用缓存机制让一段时间内访问DNS的频率大幅下降 |
@Mirai39 优秀,说到点了,主要就是为了提前加载域名,省去了解析的时间👍👍 |
乱说的,等标准答案,哈哈😄 |
@Mirai39 我就是个搬运工而已哈哈,没有标准答案的说话,况且都被你说完了(;゚∀゚)=3ハァハァ |
@CodeRookie262 也是,标准答案都是CV,期待你的见解(>人<;) |
我打算 CV 你的 ( ̄∇ ̄) |
别了吧,CV(声优,此处做动词)我?我这抠脚大汉的声音?(●'◡'●) |
在此基础上在增加几个小点哈。
可以通过 注意:
|
No description provided.
The text was updated successfully, but these errors were encountered: