我不时收到这条奇怪的警告信息.它通常在页面重新加载时消失.那是什么意思.我用Google搜索但无济于事.
Warning: include(): GC cache entry '/.../...class.php' (dev=2049 ino=37120489) was on gc-list for 3840 seconds in /.../...class.php on line 111
Run Code Online (Sandbox Code Playgroud) 今天我在网页的HTML源代码中看到了这个片段:
<!-- prefetch dns -->
<link rel="dns-prefetch" href="//s3.amazonaws.com">
<link rel="dns-prefetch" href="//cdn.api.twitter.com">
<link rel="dns-prefetch" href="//graph.facebook.com">
<link rel="dns-prefetch" href="//connect.facebook.net">
<link rel="dns-prefetch" href="//api.pinterest.com">
<link rel="dns-prefetch" href="//google-analytics.com">
Run Code Online (Sandbox Code Playgroud)
这样做可以获得多少收益?我之前没有见过这个,也没有在Yahoo! Developer Networks的优化指南.唯一似乎相关的是"减少DNS查找".
以类似的方式,为什么这些服务不会向其服务公开IP地址并完全避免DNS查询?