Description Squid proxy: changing the caching object limit.
SME Version(s) 7.0
Author Taken from forums, original by pfloor: http://forums.contribs.org/viewtopic.php?t=31884



Squid is set by default to a max object size of 4MB. You can raise that limit to 20 MB (or whatever you want) by the following. Be warned that your squid cache may become very LARGE if you are not careful with this setting!


# mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf

# echo "maximum_object_size 20480 KB" > /etc/e-smith/templates-custom/etc/squid/squid.conf/20Maximum_object_size

# /sbin/e-smith/expand-template /etc/squid/squid.conf

# /etc/rc7.d/S90squid restart

Another interesting item I have discovered at my office is that some of the XP machines here use the squid cache and others don't. I have not been able to figure why but I can force IE and Firefox to use the squid cache by setting them manually in their options.