This proxy caches content from selected websites so you can access them even when offline. Follow the steps below to configure your browser.
localhost:3128 (or your server's IP)
The following websites are automatically crawled and cached:
Access cached content directly without configuring proxy settings or installing certificates:
These subdomains serve cached content with valid Let's Encrypt certificates.
The following domains have SSL/TLS inspection enabled for caching:
All other HTTPS traffic passes through unchanged (splice mode).
Download the certificate authority file that allows the proxy to cache HTTPS content:
Download CA CertificateFile: squid-proxy-ca.pem
1Open Firefox and go to Settings
2Search for certificates in the settings search bar
3Click "View Certificates..."
4Go to the "Authorities" tab
5Click "Import..." and select the downloaded squid-proxy-ca.pem file
6Check "Trust this CA to identify websites" and click OK
1In Firefox Settings, search for proxy
2Click "Settings..." in the Network Settings section
3Select "Manual proxy configuration"
4Enter the following:
localhost Port: 3128localhost Port: 3128Or check "Also use this proxy for HTTPS"
5Click OK to save
Set environment variables in your shell profile (~/.bashrc or ~/.zshrc):
export http_proxy="http://localhost:3128" export https_proxy="http://localhost:3128" export HTTP_PROXY="http://localhost:3128" export HTTPS_PROXY="http://localhost:3128"
To trust the CA system-wide on Debian/Ubuntu:
sudo cp squid-proxy-ca.pem /usr/local/share/ca-certificates/squid-proxy-ca.crt sudo update-ca-certificates
After this, curl will trust the proxy without -k or --cacert:
curl -I --proxy http://localhost:3128 https://www.nwt.se/
Test with curl using the downloaded CA certificate:
curl -I --proxy http://localhost:3128 --cacert squid-proxy-ca.pem https://www.nwt.se/
Or skip certificate verification with -k:
curl -k -I --proxy http://localhost:3128 https://www.nwt.se/
Look for X-Cache: HIT in the response headers to confirm caching is working.
Offline Cache Proxy - Powered by Squid