Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I recommend these settings in file /etc/squid/squid.conf for optimal caching. You can place these settings at the top of the config file.

Code Block
# 10G Cache
cache_dir ufs /var/spool/squid 10000 16 256
# Cache large files
maximum_object_size 512000 KB

...

You would run this command twice :

Code Block

time http_proxy=http://localhost:3128 \
  wget -S http://mirrors.rit.edu/centos/5.5/os/i386/repodata/repomd.xml 2>&1 \
  | grep X-Cache

...

3.) Follow steps 1 and 2 again to select a good fedora mirror fedora mirror list. You'll need to do this even if you're not planning for build on Fedora because the build system will require you to specify a fedora mirror url.
Example:

Code Block

time http_proxy=http://localhost:3128 \
  wget -S http://ftp.linux.ncsu.edu/pub/fedora/linux/releases/14/Fedora/i386/os/repodata/repomd.xml  2>&1 \
  | grep X-Cache

Building with a download proxy

...