...
Code Block |
---|
CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.000000 |
HTTP Cache
...
Option
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.
...
Code Block |
---|
CONFIG proxy.config.http.keep_alive_no_activity_timeout_in INT 115 CONFIG proxy.config.http.keep_alive_no_activity_timeout_out INT 115 CONFIG proxy.config.http.transaction_no_activity_timeout_in INT 90 CONFIG proxy.config.http.transaction_no_activity_timeout_out INT 90 CONFIG proxy.config.http.transaction_active_timeout_in INT 43200 CONFIG proxy.config.http.transaction_active_timeout_out INT 43200 CONFIG proxy.config.http.accept_no_activity_timeout INT 30 |
HTTP Cache
...
Option
The following settings are setting is pretty important. I'll go through them one at a time.
This 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, they are necessary.
...
For my purposes, I decided an "average Internet object" is roughly 32KB in size,
and so we can do the following math:
...