Search squid archive

Re: How to force squid to cache files when using auth ?

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

 



Thomas Bergerot wrote:
Hi again,

I've used the following option :

refresh_pattern /files/ 600000 100% 700000 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private ignore-auth

Since the requests i want to cache are : http://www.whatever.com/files/myfile

Does it seem to be okay for you ?

Regards

Thomas

That looks like it should work. Be aware that refresh_pattern is on a first-match basis, so put this rule first. If you find that it's matching too much...

refresh_pattern whatever\.com/files/ 600000 100% 700000 override-[and so on]

...would take a bit more CPU to process, but would be more focused.

Chris


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

  Powered by Linux