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

I have seen the string "SQUIDINTERNAL" appear in numerous script examples for caching videos using Squid, however none of them explain why they have used the "SQUIDINTERNAL" string appended on the domain, for example:

What is the purpose of using it?

Here is an example script:

share|improve this question

After more than a year I have found the answer, buried here.

Many websites use CDN(Content Delivery Network) to scale their website. Some of these are using the same URL on other domains. One of the major opensource players that I can demonstrate with is SourceForge. They have mirrors all over the world and they use a prefix domain to select the mirror like:

So this is a case of Simple URL de-duplication. This scenario can be resolved easily by storing all of the sub-domains under one "key". Kind of like a pseudo for this: every subdomain of should be stored as: and a ruby example to demonstrate code for that:

url = ""

key = "" + url.match(/.*\.dl\.sourceforge\.net\/(.*)/)[1]

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.