A.Cache-Control:客户端是否支持cache
B.Referer:Referer用以告诉服务器该请求来自于哪个URL
C.Expires:该请求的响应结果在什么时间失效
D.Host:指定请求资源的主机和端口号
A.DNS重定向的Cache
B.HTTP重定向的Cache
C.DNSForward的Cache
D.租用CDN
A.CACHE日志
B.CACHE黑白名单管理
C.netflow/netstream
D.DNS
阅读以下说明,回答问题1~5,将答案填入答题纸对应的 解答栏內。
[说明]
某公司有一个局域网,在ISP申请了Internet接入,接入方式是以太网,ISP分配给了一个固定的IP地址为222.152.199.33、子网掩码为255.255.255.252、默认网关为222.152.199.34、DNS为202.102.192.68。该公司有两台服务器,一台PC服务器S1作为代理服务器实现整个公司上网,代理服务器的操作系统是Linux,代理软件是squid;另一台PC服务器S2安装了DHCP服务,为内部客户机动态分配IP地址,拓扑图如下图所示。
下面分别是服务器S1的代理服务配置文件/etc/squid/squid.conf和服务器S2的DHCP服务配置文件/etc/dhcpd.conf的主要内容。
[s1的/etc/squid/squid.conf文件的主要内容]
http_port 8080
cache mere 194 MB
cache dir/home/squid/cache 4000 24 33
cache access log/usr/local/squid/logs/access.log
cache log /usr/local/squid/logs/cache.log
dns nameservers (2)
acl denydomain dstdomain foo.com.tw
acl all scr 0.0.0.0/0.0.0.0
http access deny denydomain
http access allow all
cache_mgr netsnake@263.net
[S2服务器/etc/dhcpd.conf文件的主要内容]
subnet 192.168.1.0 netmask 255.255.255.0{
range (3) ;
default-lease-time 86400;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option domain-name-servers 202.102.192.68;
}
(1)处该填写什么内容?
A.C/S和HTML
B.B/S和HTTP
C.COM和Cache
D.W曲Service和XML
A.REST服务比SOAP和XML-RPC更为简洁,可以完全通过HTTP协议实现,还可以利用缓存Cache来提高响应速度,性能、效率和易用性上都优于SOAP协议。
B.REST服务中的资源所指的不是数据,而是数据和表现形式的组合,可以是图片,Word、文件,甚至可以是一种虚拟的服务,所有的服务资源都可以通过URL进行唯一标识。
C.REST服务要求所有的操作都是无状态的,因此服务器端不需要记录客户端的一系列访问,减轻了服务器端的性能开销。
D.REST服务要求开发人员显式地使用HTTP方法,并且使用方式与协议定义一致,因此需要特殊的服务引擎对数据包进行处理。
WWW is popular for its multimedia transmission and friendly(71). Although the speed of network has been improved considerably in recent years, the rapid(72)of using the Internet, the inherited character of delay in the network and the Request/Response working mode of WWW still make the Internet traffic very(73)and give no guarantee on the Quality of Service. Because HTTP has no states, the web server cannot know the users' demand and the users' requests cannot be predicted Taking advantage of a cache mechanism and the time locality of WWW accesses, the browser can preserve the documents ever accessed in the local machine. By this means, for the documents in the local cache, the browser does not need to send the requests to the remote server or to receive the whole responses from the remote one Pre-fetching uses the space locality of accesses First, the users' access requests are predicted according to the users' current request. Secondly, the expected pages are fetched into the local cache when the user is brow sing the current page. Finally, the users can access these pages downloaded from the local cache. And this can reduce the access delay to some degrees. Pre-fetching is one kind of active caches that can cache the pages which are still not requested by the user. The application of pre-fetching technology in the web can greatly reduce the waiting time after users have sent their requests. This paper brings forward an intelligent technique of web pre-fetching, which can speed up fetching web pages. In this technique, we use a simplified WWW data model to represent the data in the cache of web browser to mine the association rules. We store these rules in a knowledge base so as to(74)the user's actions. In the client sides, the agents are responsible for mining the users' interest and pre-fetching the web pages, which are based on the interest association repository. Therefore it is(75)for the users to speed up the browsing.
A.interactive
B.interaction
C.interactivity
D.infection
Intel Pentium内部有两个各为8KB的指令Cache和数据Cache,其目的是()。
A.弥补片外Cache容量的不足
B.弥补内存容量的不足
C.弥补外存容量的不足
D.加快指令执行速度