Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We have a cluster of Squid servers at the front-lines for a large website, and we occasionally receive reports from QA/users that some pages use MIME types not supported by the browser (so they will be forced to download the file versus browsing the page).

The issue is that these pages have been cached with the text/vnd.wap.wml MIME type. In order to fix it, I have to purge them manually using squidclient, and then browse to the page with a normal browser.

I'm fairly confident this is caused by BlackBerry clients being the first to hit these pages, which forces Squid to cache the pages with the incorrect MIME type.

How can I prevent these pages from being cached?

share|improve this question
up vote 1 down vote accepted

It would be better to adopt one of the no-caching methods on the server-side... but you can setup an ACL & deny caching on it... i.e.

acl NOCACHE rep_mime_type text/vnd.wap.wml
no_cache deny NOCACHE

(I think it's rep_mime_type ... might be req_mime_type...)

share|improve this answer
Thanks, I'll give this a shot. – Matt Beckman Sep 21 '10 at 0:21

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.