Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kmcfate on github.
  • I am kmcfate (https://keybase.io/kmcfate) on keybase.
  • I have a public key ASDrgVn51xTA6HZTRu10-CS-RilHz9pRIfekxofCwxJDwAo

To claim this, I am signing this object:

@kmcfate
kmcfate / gist:4fd006fa9ec3798b7ba4
Created January 9, 2016 02:16
How to change the cache ID of squid for repositories
http://pastebin.ca/2422099
http://stackoverflow.com/questions/28240297/squid-storeid-rewrite
Must be tabs:
^http:\/\/.*/([^\/]*\.(?:deb|rpm)) $1
store_id_program /usr/local/squid/store-id.pl /usr/local/squid/store_id_db
store_id_children 5 startup=1