Squid proxy server caches files to optimise response times for frequently used pages on your website. It has built-in support for HTTP, HTTPS and FTP protocols. Setting up a pass through, or transparent proxy, enables you to allow a subnet of your website to pass through Squid without forcing the use of a cached version. Configure the Squid settings to utilise it as a pass through proxy.
- Skill level:
Other People Are Reading
Things you need
- Squid software
Launch the Squid software and click on "Services." Select "Proxy Server."
Click on the "General Settings" tab and make the following changes:
Change the proxy interface setting to "LAN."
Place a check mark next to "Allow users on interface."
Redirect outbound http(tcp/80) traffic in the "Transparent Proxy" setting.
Make sure the proxy port is set to 3128.
Click the "Cache Management" tab and make the following changes:
Set the hard disk cache size to 3 GB.
Ensure the memory cache size does not exceed 50% of installed RAM.
Add any domains that shouldn't be cached to the "Do Not Cache" list.
Click on the "Access Control" tab and make the following changes:
Add any subnets that should pass through the proxy to the access list.
Tips and warnings
- Check with your firewall or router manufacturer to ensure that all settings are compatible with the Squid pass through configuration.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for