|
6#
楼主 |
发表于 2010-9-27 16:21:12
|
只看该作者
回复 4# mr.bee
web_cache_cleanup:这个如何实现:在测试性能时90%的用户迭代时,没用缓存,每次都以新用户请求;10%的用户有缓存,每次以新用户访问
文档中只是说明的是:
web_url("index.html",
"URL=http://my_web_server/index.html",
"Resource=0",
"Referer=",
"Mode=HTTP",
LAST);
web_url("survey.gif",
"URL=http://my_web_server/gifs/survey.gif",
"Resource=1",
"Referer=http://my_web_server/index.html",
LAST);
web_url("top_blue.gif",
"URL=http://my_web_server/gifs/top_blue.gif",
"Resource=1",
"Referer=http://my_web_server/index.html",
LAST);
. . .
// Reload home page
web_url("index.html",
"URL=http://my_web_server/index.html",
"Resource=0",
"Referer=",
"Mode=HTTP",
LAST);
web_url("top_blue.gif",
"URL=http://my_web_server/gifs/top_blue.gif",
"Resource=1",
"Referer=http://my_web_server/index.html",
LAST);
web_cache_cleanup();
这段代码如何理解?? |
|