[squid-dev] Valid document was not found in the cache and only-if-cached directive was specified. what does it mean?
eliezer at ngtech.co.il
Wed Mar 1 01:10:21 UTC 2017
I am receiving this error page when a cache_peer is defined as a sibling on
each of the 2 proxies:
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the
Valid document was not found in the cache and only-if-cached directive was
You have issued a request with a only-if-cached cache control directive. The
document was not found in the cache, or it required revalidation prohibited
by the only-if-cached directive.
Your cache administrator
Generated Wed, 01 Mar 2017 00:57:25 GMT by filter (squid/3.5.24)
##END OF PAGE
When I am removing the cache_peer line the file is being fetched.
I am not sure what should have happen and what went wrong.
This is a part of a test I am running to vetify how would a clustered set
of squid will work with a load balancer infront of them and also to verify
how would the proxies would communicate via ICP and HTCP.
The cache proxy are using a glusterfs nfs mount and rock cache_dir.
In theory and by glusterfs benchmarks(I ran) the proxy should be able to
read faster over the glusterfs and in speeds above 10Gbps.
There is a split of a second theoretical slow down but in practice I have
yet to feel it on small scale.
I need your help to understand if this is a bug and if so what should be
done with it.
Linux System Administrator
Email: eliezer at ngtech.co.il
More information about the squid-dev