Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure an anonymous proxy using squid.

I've set

forwarded_for delete
via delete

but Squid 3 still adds an other header to the web requests that go through it:

HTTP_CACHE_CONTROL = max-age=259200

I've tried

cache_control delete

but that doesn't work.

How do I get rid of squid's cache_control header?

I don't want for it to interfere with the actual web requests that contain cache-control header; But I want for it not to attach its own header

share|improve this question

Removing Cache-Control header is a bad idea.

The many sites functionality relies on expected dynamic content delivery. If you filter out this header from the response then your browser will not show you web-pages properly as it will cache everything and after the first request to some page it will show you the same content next time, while if you would request it from the server the content were different.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.