Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor updates.

...

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

HTTP  Cache Options

The default config for ATS specifies that URLs that look dynamic be cached anyways.

Unfortunately, this can break some web applications.  I decided to turn this off.

Code Block
CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 0

HTTP Cache Options

The default config for ATS specifies that headers for "No-Cache" from the client be ignored, and that those from a server be honored.

...

Code Block
CONFIG proxy.config.http.cache.ignore_client_no_cache INT 0
CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 0
CONFIG proxy.config.http.cache.ignore_server_no_cache INT 1

HTTP Cache Options

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

...

I had a similar experience tuning Squid in this regard.
This setting controls how many connections ATS can make outbound to various Internet servers,
on a per-server basis. The default allows for unlimited connections, and while that may be
useful on a heavily loaded server I find that it actually slows things down a bit.

I decided to go with 32 48 connections per origin server simultaneously.

Code Block
CONFIG proxy.config.http.origin_max_connections 3248

HTTP RAM Cache

While the default ATS options for this may be optimal under heavy load,
I found using the simpler LRU algorithm much faster and more useful.

...