找到你要的答案

Q:Apache Traffic Server store partial document

Q:Apache服务器存储部分文件交通

https://docs.trafficserver.apache.org/en/latest/admin/faqs.en.html?highlight=partial%20content

this document says 'Traffic Server does not store partial documents in the cache.'

but, Traffic Server cache partial image(like jpg) file. sometimes, The upper half of the image file cached.

Is there a solution?

I'm using ats 5.3.0.

https://docs.trafficserver.apache.org/en/latest/admin/faqs.en.html?突出部分20content = %

该文档称“流量服务器不存储缓存中的部分文档。”

but, Traffic Server cache partial image(like jpg) file. sometimes, The upper half of the image file cached.

有解决的办法吗?

我用ATS 5.3.0。

answer1: 回答1:

The short answer is that ATS currently does not support storing partial objects. This is a new feature that is actively being worked on, and will hopefully be available with v6.1.0 or possibly 6.2.0.

That much said, if you see partial objects in the cache like this, you are likely experiencing one of

  • Corrupted response from origin server.
  • Non-conformant response from the origin (did it respond without proper headers?)
  • Corrupted cache (very unlikely).

简短的回答是,ATS目前不支持存储部分对象。这是一个新的功能,积极工作,并希望能提供或可能6.2.0 V6.1.0。

这么说,如果你看到缓存中的部分对象,你可能会遇到其中之一

  • Corrupted response from origin server.
  • Non-conformant response from the origin (did it respond without proper headers?)
  • Corrupted cache (very unlikely).
apache-traffic-server