[squid-users] How to cache <1KB content ? How to improve hit ratio in memory
johnzeng
johnzeng2013 at yahoo.com
Fri Mar 4 07:08:00 UTC 2016
Hello Dear Sir
I hope i can improve hit ratio of cache system recently , but i have two
question .
first : whether maximum_object_size_in_memory can be writed ( other
value less than 1KB)
maximum_object_size_in_memory 500 bytes ( whether it will be correct )
Second :
When i set maximum_object_size_in_memory 4 KB and i found
TCP_MEM_HIT/200 ( hit ratio )is very low based memory storage
When i set maximum_object_size_in_memory 1 KB and i found TCP_HIT/200 (
hit ratio based disk storage )is
better than TCP_MEM_HIT/200( memory storage)
How to improve hit ratio in memory ?
maximum_object_size_in_memory 1 KB
04/Mar/2016:14:56:06 +0800.318 1 192.168.0.56 TCP_HIT/200 1113 GET
http://image.sinajs.cn/newchart/small/t/sh000001.gif - HIER_NONE/- image/gif
04/Mar/2016:14:56:08 +0800.106 0 192.168.0.56 TCP_HIT/200 1113 GET
http://image.sinajs.cn/newchart/small/t/sh000001.gif - HIER_NONE/- image/gif
04/Mar/2016:14:43:08 +0800.479 0 192.168.0.56 TCP_HIT/200 1656 GET
http://www.swjtu.edu.cn/themes/12163/default494/images/bin_ico.png -
HIER_NONE/- image/png
04/Mar/2016:14:43:08 +0800.485 1 192.168.0.56 TCP_HIT/200 3929 GET
http://www.swjtu.edu.cn/themes/12163/default494/images/ico_arrow.png -
HIER_NONE/- image/png
maximum_object_size_in_memory 4 KB
04/Mar/2016:11:35:24 +0800.708 0 192.168.0.56 TCP_MEM_HIT/200 2037 GET
http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/bd-logo5.png -
HIER_NONE/- image/png
More information about the squid-users
mailing list