From: Marcelo B. <no...@gm...> - 2013-11-26 08:52:35
|
Hi. I've been trying to get privoxy to add a non-cache header and it doesn't seem to be working. I have this filter: SERVER-HEADER-FILTER: custom-cache-control Custom Cache Control. s|Cache-Control.*|Cache-Control: max-age=0, no-cache, no-store, must-revalidate|i And my action file looks like: {+add-header{ETag: 686897696a7c876b7e}} /.* {+add-header{Pragma: no-cache}\ +add-header{Cache-Control: max-age=0, no-cache, no-store, must-revalidate}} /.* {+client-header-filter{custom-cache-control}} /.* My goal is to inject my own cache-control header or to tweak an existing one if present. It doesn't seem to be working for mw. Is this possible with privoxy? -M. |