These are the highlights of new features or additions to existing features in v4.1.x.
Multiple suffixes with cache.config
It is now possible to specify multiple suffixes in a cache.config line. This allow you to simplify rules, and e.g. have one line for all images (*.jpg, *.png etc.).
Jira: TS-2008
Metrics for Log Collation
There is now a new set of metrics for the log collation feature:
Events of Log::error()
proxy.process.log.event_log_error_ok proxy.process.log.event_log_error_skip proxy.process.log.event_log_error_aggr proxy.process.log.event_log_error_full proxy.process.log.event_log_error_fail
Events for Log::access()
proxy.process.log.event_log_access_ok proxy.process.log.event_log_access_skip proxy.process.log.event_log_access_aggr proxy.process.log.event_log_access_full proxy.process.log.event_log_access_fail
Logging Data to/from network/disk
proxy.process.log.num_sent_to_network proxy.process.log.num_received_from_network proxy.process.log.num_flush_to_disk proxy.process.log.bytes_sent_to_network proxy.process.log.bytes_received_from_network proxy.process.log.bytes_flush_to_disk proxy.process.log.bytes_written_to_disk
Other
proxy.process.log.log_files_open proxy.process.log.log_files_space_used
These are also available as cluster wide metrics.
Jira: TS-2145
Failover for log collation
There's now a feature to allow for proper failover from one collation server to another. For example:
<CollationHosts = "host1:5000|host2:5000|host3:6000, 209.131.52.129:6000"/>
Jira: TS-2259
New log tag: <fsiz>
This logs the full size of the object, as seen by the origin server, regardless of the Ranges the client has requested.
Jira: TS-2212
New .include directive for remap.config
This allow you to include other remap.config style files into the main remap.config file. This allows for better and safer management of large installations, particularly with different owners of the different remap rules.
Jira: TS-2323
Plugin improvements: header_rewrite
- New operator: set-header. This overwrites any existing values in the header, eliminating the need to rm-header it first.
- New operator: set-config. This provides a mechanism to modify an overridable records.config configuration.
- In a remap rule, you can now provide multiple configuration files via multiple @pparam options. The configuraitons are loaded in order specified.
- Flexible hook management. This plugin now works similar to header_filter, in that you can via. a remap.config rule specify that certain operations should happen in another hook.
Jiras: TS-2226 TS-2227 TS-2228 TS-2230
Plugin improvements: regex_remap
- Allow to do lowercasing of the path.
- Allow to do lowercasing of all group substitutions.
New plugin: remap_stats
This new plugin provides per-remap metrics. This includes metrics for bytes in/out, and various HTTP status codes.
Jira: TS-2291
Additional semantics for "ignore mismatch" configurations
The following four configurations now also take a new value, "2":
proxy.config.http.cache.ignore_accept_mismatch proxy.config.http.cache.ignore_accept_language_mismatch proxy.config.http.cache.ignore_accept_encoding_mismatch proxy.config.http.cache.ignore_accept_charset_mismatch
These are by default disabled (0), and enabling them with the old configuration value (1) could have serious correctness issues. The new option will only ignore the corresponding accept header if there is no Vary header in the response. This should always be safe to enable, and can yield better cache hit ratios.
Jira: TS-2245
New configuration for plugin load elevation
This adds a new configuration option to elevate plugins to load with root privileges:
proxy.config.plugin.load_elevated
Jira: TS-2261
Cache Cluster improvements
TBD.
Jira: TBD
More details
- Slide deck with more feature / improvement details