Squid parent cache for text/html only
- by Salvador
How do I configure the squid to only request text/html to the parent cache; right now I am using :
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest
on the second hand I get a lot of direct request that do not use the parent proxy: some queries go like FIRST_UP_PARENT and some like DIRECT, how do I tell the squid to always use parent for text/html
BTW .. is a transparent proxy
I have tried :
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest
acl elhtml req_mime_type -i ^text/html$
acl elhtml req_mime_type -i text/html
cache_peer_access 127.0.0.1 allow elhtml
cache_peer_access 127.0.0.1 deny all
and it does not works
Thanks in advance for the help.