欢迎来到天天文库
浏览记录
ID:34447983
大小:701.64 KB
页数:71页
时间:2019-03-06
《be-basics-meituan》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、后端基础知识潘魏增关于我•潘魏增•美团网前端工程师•http://panweizeng.com域名解析•在浏览器地址栏输入http://meituan.com,背后到底发生了什么事情?•在浏览器地址栏输入http://meituan.com,背后到底发生了什么事情?•为什么hosts文件可以定义任意的测试域名•在浏览器地址栏输入http://meituan.com,背后到底发生了什么事情?•为什么hosts文件可以定义任意的测试域名•为什么localhost等于127.0.0.1域名解析•/etc/nsswitch.conf•/etc/hosts•/etc/resolv.
2、conf域名解析MailClientWebBrowsercache1-30minsClientsProgramsYourComputer域名解析MailClientWebBrowserhostscache1-30minsClientsProgramsYourComputer域名解析MailClientWebBrowserhostsDNSResolvercache1-30minslocalcacheClientsProgramsYourComputer域名解析MailClientWebBrowserhostsDNSResolvercache1-30minslocalcach
3、eClientsProgramsYourComputerYourComputerLocalNameServer/YourISP1YourComputerLocalNameServer/YourISPRootNameServer21YourComputerLocalNameServer/YourISPRootNameServer21YourComputerLocalNameServer/YourISPRootNameServer23ComNameServer1YourComputerLocalNameServer/YourISPRootNameServer23ComName
4、Server1YourComputerLocalNameServer/YourISPRootNameServer23ComNameServer4MeituanNameServer1YourComputerLocalNameServer/YourISPRootNameServer23ComNameServer4MeituanNameServer1YourComputerLocalNameServer/YourISPRootNameServer23ComNameServer4MeituanNameServer15YourComputerLocalNameServer/Your
5、ISPRootNameServer23ComNameServer4MeituanNameServer156YourComputerMeituanWebServer它们的关系•meituan.com•www.meituan.com实战•digmeituan.com•dig+tracemeituan.com•digwww.meituan.com•digs0.meituan.comHTTP•HypertextTransferProtocolHTTP•HypertextTransferProtocol•我们都是靠HTTP吃饭的程序员HTTP•HypertextTransferPr
6、otocol•我们都是靠HTTP吃饭的程序员clientserverrequestclientserverrequestclientserverresponse•GET/path/to/file/index.htmlHTTP/1.0•HTTP/1.0200OK•404NotFound•500ServerError•301MovedPermanently•302MovedTemporarily•304NotModified•401Unauthorized•403Forbidden•502BadGatewayRequestHeaders•Host:www.meituan.com•
7、User-Agent:Mozilla/5.0(Macintosh;IntelMacOSX10.6;rv:2.0.1)Gecko/20100101Firefox/4.0.1AJAX•X-Requested-With:XMLHttpRequestResponseHeaders•Server:nginx•Date:Mon,20Jun201109:12:11GMT•Content-Type:application/json;charset=utf-8;•Content-Length:138•无状态协议•cookie•session实战
此文档下载收益归作者所有
点击更多查看相关文章~~