Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 1.000000

Cache Object Required Headers

These two settings are pretty important. One defines a global variable whose function is to indicate
whether specific HTTP headers are necessary to properly cache an object. As it turns out, much of this
functionality is included in HTTP 1.1 and thus additional headers aren't really necessary.

The other specifies how "stale" an object should be before it gets fetched again from the Internet.
The default config for ATS specifies that after 1 week(604800 seconds), any object that is "stale"
should be flushed from the cache. I'd prefer that it stick around for about 3 months.

Code Block

CONFIG proxy.config.http.cache.required_headers INT 0
CONFIG proxy.config.http.cache.max_stale_age INT 7776000

Cache Object Lifespan

The default config for ATS specifies that after 1 day(86,400 seconds), any object without a specific expiration
should be flushed from the cache. I'd prefer that it stick around for about 3 months. This setting is contentious
in that what it should be is debatable.

...