Redo format to support varnishncsa filtering.