never_cache should NOT calculate an etag header
|Reported by:||Eloff||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||1.1|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Presumably the purpose of never_cache is to prevent browser caching, so why calculate an md5 hash of the response for etag, which might cause browser caching? Probably etag should be omitted, but if there is a purpose to adding it, make a nice big random etag rather. No point burning CPU cycles AND possibly giving bad behavior too!
Note that the current behavior breaks streaming responses, see #12214.