AZTCOFW / TECHNICAL GUIDE
Clear Cache
Resetting the cache in squid can often clear up issues without performing a more complicated procedure. Before performing a full reset, try clearing and resetting the cache:
| mv /var/squid/cache /var/squid/cache.old squid -z rm -rf /var/squid/cache.old |
The old cache should be moved, then reset, and then the old cache should be removed, as above, because removing the cache directory can be time consuming, and if it is moved first, then its removal will not prevent squid from being run while it is happening.
Imported from the AZTCOFW knowledge base on 2026-09-05. Historical guidance may refer to older software versions. Confirm applicability before changing a production system.
Original source ↗