Leonardo Rodrigues Magalhães wrote:
Ammad Shah escreveu:
i set the maximum object size in squid configuration 34 MB, i am using
fedora 7 and also tested this on fedora 8. when i try to download same
object from same url but getting that object from internet instead of
cache.
why squid is not caching objects ? or its problem of distributio
Certainly NOT a distribution problem. If object is not getting
cached, you should check:
1) some squid.conf config which denies that object to be cached,
no_cache clauses for example. There are some defaults one, they exist
even if you dont configure them
Please note: 'no_cache' is obsolete. The proper usage in all current
squid is "cache deny X" instead of "no_cache deny X".
2) object is being served by its web server with headers that denies it
to be cached. squid will obey them and not get that object into the cache.
use squidclient ("squidclient http://...") to see the headers easily.
3) stupid question .... but are you sure your maximum_object_size (34Mb)
is enough for caching that file ??
Amos