[Intermediate] Quick Tip: Squid Settings


(Keith Brown) #1

Hi Folks,


When working out the SQUID settings I didn't want to have any of the matrix specific URLs cached:



[codebox]acl MATRIX urlpath_regex _edit _admin _nocache __lib __fudge \?

cache deny MATRIX

[/codebox]



And not users that are logged in:



[codebox]acl cookie_is_set req_header Cookie ^.SQ_SYSTEM_SESSION.

cache deny cookie_is_set

[/codebox]



Of course as this is a forum - happy to have people improve this…



K


(Dan Simmons) #2

May as well throw these in there too:

    _login _recache


eg.
    acl MATRIX urlpath_regex _edit _admin _login _nocache _recache __lib __fudge \?
    cache deny MATRIX

:)
Dan