Feature #10913

Allow disabling caching in Squid completly

Added by Florian Apolloner about 1 month ago. Updated 9 days ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


We use Squid as a proxy to audit access to websites (or reject as needed). We disabled the disk cache and set the memory cache to 1 MB but in the end we'd like squid to not ever cache anything. Sadly this cannot be done via any options since the squid package add cache allow all by default:

Would it be possible to move this directive down to the end of the configuration file (this way an earlier cache deny all via custom acls would work) or add a toggle to the GUI to allow disabling it?


#2 Updated by Jim Pingle about 1 month ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#4 Updated by Azamat Khakimyanov 9 days ago

  • Status changed from Feedback to Resolved

Tested on 2.4.5_p1 and on 2.5.0-DEVELOPMENT (built on Tue Oct 20 07:03:54 EDT 2020)

There is an option to disable Squid caching completely now.
When I checked it I saw that file /var/squid/cache/swap.state stopped updating and it stayed the same size. If I uncheck it swap.state size starts to increase according to the amount of web pages I open.

This feature request can be marked RESOLVED.

Also available in: Atom PDF