I have edited my squid.conf to change how long certain files are cached using the refresh_pattern directive. It seems to have no effect. What is wrong?

Updated -

This is due to the Squid Proxy adherence to the HTTP standard which requires that HTTP proxies honor directives related to cached files from proxy clients.

The Squid configuration for refresh_pattern usage is:

refresh_pattern [-i] regex min percent max [options]

However, the min and max values are only a guide for Squid when no directives are supplied by t...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content