Em 22/10/15 06:08, Amos Jeffries escreveu:
On 22/10/2015 7:13 a.m., Leonardo Rodrigues wrote:
It sounds to me that you are not so much wanting to cache only big
things, you are wanting to cache only certain sites which contain mostly
big things.
The best way to confgure that is with the cache directive. Just allow
those sites you want, and deny all others. Then you dont have to worry
about big vs small object size limits.
Though why you would want to avoid caching everything that was designed
to be cached is a bit mystifying. You might find better performance
providing several cache_dir with different size ranges in each for
optimal caching to be figured out by Squid.
On 22.10.15 16:48, Leonardo Rodrigues wrote:
At first that (caching only 'big' things) was the idea, but when
i look to cache instagram, that really changed. I know i dont have a
good hardware (I/O limitation) and having a VERY heterogenous group
of people, hits were low when caching 'everything' and, in some
cases, access was even getting slower as i do have a good internet
pipe.
the slower pipe you have, the results should caching give you.
Did you try to tune caching options?
For example, replacement policy - I use heap GDSF for memory cache and heap
LFUDA for disk cache. The latter should give better data rate (will spare
your pipe), while the first better object hit rate (better feel when
downloading web pages)
Caching files below a few KB may not be good for disk, but may be perfect
for RAM. With COSS or rock storage, even small files should be on-disk
cacheable and that could give you another improvement.
of course, with slow disk i/o you can't get much benefits.
--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users