Search squid archive

Can I use an external ACL helper for "cache allow x" or "cache deny y" ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I was wondering to myself:
We have lots of acls but I am not sure if it's possible or not.
I want to cache specific files only after a specific amount of times that
they were downloaded requested over a specific period of time.
Now what I want to try is to write an external ACL helper that will work
with a counter in a DB and that will count each url hit.
Then if a specific URL is being hit more then let say 5 times per a period
of time which garbage collection runs or memcached or redis with an
expiration time,
this object will be allowed to be cached.

It's a lot of data on a busy systems but for specific domains it's useful.

Can an external acl helper be used for "cache deny x" or "cache allow y"?

Thanks,
Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx




_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux