when browsering the codes in prefetch:

> /* skip if it is encoded */
>   c_type = resp->value_get(MIME_FIELD_CONTENT_ENCODING, 
> MIME_LEN_CONTENT_ENCODING, &c_type_len);
>   if (c_type) {
>     char type[64];
>     memcpy(type, c_type, c_type_len);
>     type[c_type_len] = 0;
>     Debug("PrefetchParserCT", "Content is encoded with %s .. skipping\n", 
> type);
>     return;
>   }

that content_encoding will block the prefetch from working, as the
morden http server/client will try to use content-encoding as much as
possible for bandwidth saving, should we add the (d)encoding in the core
system, and API out?

afaict, we have compressing in the RamCacheCLFUS.cc, but no other
places.

any comments?

-- 
zym, Zhao Yongming.
aka: yonghao @ taobao.com

Reply via email to