refresh_pattern

refresh_pattern

This directive provides a way to customize Squid's algorithm for validating cached responses. HTTP has a relatively complex procedure for determining whether or not a cached response is fresh or stale. In some cases, origin servers provide an explicit expiration time. However, the majority of responses don't have this information. For these, Squid applies some heuristics to the response. See Section 7.7 for more information.

Syntax

refresh_pattern regex mintime percent maxtime [options]

Default

refresh_pattern .  0  20%  4320

Example

refresh_pattern \.jpg$ 0 75 7200



    Appendix A. Config File Reference
     
    ASPTreeView.com
     
    Evaluation has јµЛ№јИіСЕexpired.
    Info...