This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can't find refresh_pattern squid conf files

Hi there,

i have the latest Astaro version and i am looking for the refresh_pattern in the squid.conf and squid.conf-default files.

What is the standard "TIME TO LIVE" for cached objects?

The ASL-Box has 512MB and about 8550920 1k-blocks for squid, so i wanted to increase the lifetime of cached objects.

Because of regular new installations of windows systems, it would be a nice feature if the updates would stay in cache a little longer.

Has any changes with the option refresh_pattern a negativ result on the refresh (e.g. the Function Key F5 in IE) behaviour of IE?

Thanks in advance   


This thread was automatically locked due to age.
Parents Reply Children
  • this means the:

    cache_replacement_policy LRU

    would be accepted by the squid used in the ASL-Box.

    By the way, i hoped to find a more specific solution like:

    cache_replacement 90 Days

    Just an example.

    But thanks for your hint. 
  • look here..[[:)]]
    http://squid.visolve.com/squid24s1/tuning.htm
    here is where you can modify how long it keeps stuff..[[:)]]

    Tag Name reference_age
    Usage reference_age time-units

    Description
    As a part of normal operation, Squid performs Least Recently Used removal of cached objects. The LRU age for removal is computed dynamically, based on the amount of disk space in use. The dynamic value can be seen in the Cache Manager 'info' output.

    The 'reference_age' parameter defines the maximum LRU age
    Default reference_age 1 year

    Example
    For example, setting reference_age to '1 week' will cause objects to be removed, if they have not been accessed for a week or more. The default value is one year.

    Specify a number here, followed by units of time. For example:

    1 week
    3.5 days
    4 months
    2.2 hours

    Caution
    This parameter is not used when using the enhanced replacement policies, GDSH or LFUDA.