[squid-users] Squid 2.6 Question: Can I run a Perl script before/after checking cache for image

From: Ethan Whitt <[email protected]>
Date: Mon, 01 Oct 2007 03:02:44 -0700

Squid Gurus,

I am not sure if Squid is able to do this, but I thought this would be
the right place to ask. Here is my setup

Clients: Windows and Mac PC's with proxy setting to 3128
Squid Box: v2.6, not in forwarding path between users and Internet

Is there a way I can have Squid run a Perl script everytime a .JPG is
requested before/after checking the cache? I would like to add some
logic to manipulate the image if it matches a certain criteria within
the Perl script. I have seen ways of doing this with IPtables when the
Squid box is in the forwarding path. Is this possible otherwise?

Thanks!

Ethan
Received on Mon Oct 01 2007 - 04:03:40 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:00 MDT