[squid-users] object cached with certainty

From: Carlos Defoe <carlosdefoe_at_gmail.com>
Date: Wed, 12 Feb 2014 18:47:40 -0200

Hello,

is there a way to be sure that some objects will be cached?

I'm trying to cache this image blog:
http://lustik.tumblr.com

I configured one refresh_pattern line to match all tumblr, with some
options that, as far as I undestood, will agressively try to cache it.

####
# REFRESH_PATTERNS
####
refresh_pattern -i tumblr.com 2880 90% 7200 override-expire
override-lastmod ignore-no-store ignore-reload ignore-private
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

No luck. All I get with this is always TCP_MISS/200, for all objects. E.g:
TCP_MISS/200 172504 GET
http://24.media.tumblr.com/967c977f757bc64f9e10184acc934bd2/tumblr_n0qsckwQA31qztdg6o4_500.jpg

I tried to load that page on different browsers, and different
machines, but the objects are never cached. Why is that? What can I
do?

If my disk cache is already full, the behavior should be to keep the
objects that are already stored, or delete the oldest and store those
new? I mean, this could be caused by a full cache dir?

Thanks,
Carlos
Received on Wed Feb 12 2014 - 20:47:48 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 13 2014 - 12:00:05 MST