The current behavior is that precache task will stop if size of a resource exceeds max_bytes_per_resource or if total size of all resources exceeds max_bytes_total.
But there are resources which are sent gzipped, and they are stored in cache in gzipped. So the max bytes cap should check the bytes used in network instead of the resource size.
Comment 1 by bengr@chromium.org
, Jul 8 2016