On 12/8/06, Linus Torvalds [off-list ref] wrote:
You can't have a cache architecture where the client just does a "get",
like memcached does. You need to have a "read-for-fill" operation ...
In Squid 2.6:
collapsed_forwarding on
refresh_stale_window <seconds>
(apply the latter only to stanzas where you want "readahead" of
about-to-expire cache entries)
Brief design description at http://devel.squid-cache.org/collapsed_forwarding/.
(I didn't write this code, everything I know about squid leaked
through the Google-shaped pinhole in my tinfoil hat, etc. But if you
go this way I'd like to be in the loop to understand the scalability
issues around netfilter-assisted transparent proxying.)
Cheers,