Squid-2.2.STABLE2: Don't swap out objects > maximum_object_size Don't start swapping out objects with a known size larger than maximum_object_size. Previously Squid would swap out these objects and mark it as private once maximum_object_size was hit. Index: squid/src/store.c diff -u squid/src/store.c:1.1.1.36.8.1 squid/src/store.c:1.1.1.36.8.3 --- squid/src/store.c:1.1.1.36.8.1 Wed Apr 21 15:03:42 1999 +++ squid/src/store.c Thu May 13 04:47:46 1999 @@ -505,7 +505,9 @@ debug(20, 3) ("storeCheckCachable: NO: negative cached\n"); store_check_cachable_hist.no.negative_cached++; return 0; /* avoid release call below */ - } else if (e->mem_obj->inmem_hi > Config.Store.maxObjectSize) { + } else if ((e->mem_obj->reply->content_length > 0 && + e->mem_obj->reply->content_length > Config.Store.maxObjectSize) || + e->mem_obj->inmem_hi > Config.Store.maxObjectSize) { debug(20, 2) ("storeCheckCachable: NO: too big\n"); store_check_cachable_hist.no.too_big++; } else if (EBIT_TEST(e->flags, KEY_PRIVATE)) {