sqcwa

Workaround for Squid not caching some pages

Install

All systems
curl cmd.cat/sqcwa.sh
Debian Debian
apt-get install sqcwa
Ubuntu
apt-get install sqcwa
Windows (WSL2)
sudo apt-get update sudo apt-get install sqcwa
Raspbian
apt-get install sqcwa

sqcwa

Workaround for Squid not caching some pages

This program reads squid/access.log on the fly, analyses it and searches inside all text/html objects for some <meta> tags, and if found, tells squidclient to purge the page. It is needed for some webservers that do not put http-equiv tags in http headers. Currently these tags are: <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="expires" content="-1">