[
https://issues.apache.org/jira/browse/TS-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808421#comment-13808421
]
Thomas Jackson commented on TS-2303:
------------------------------------
These aren't contradictory, on the contrary they are complimentary. The old
documentation says that cache-control headers forbidding cache are ignored if
you have this setting enabled. The doc string i added is saying that if you
have cache-control headers on the response it will cache them regardless of
this setting. Basically there were 2 parts of this that were confusing (1) the
missing linebreak, (2) i assumed the behavior would be NEVER cache a negative
response if the value is zero-- which isn't the case
> Incorrect docs for negative_caching_enabled
> -------------------------------------------
>
> Key: TS-2303
> URL: https://issues.apache.org/jira/browse/TS-2303
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Thomas Jackson
> Attachments: records-docs.patch
>
>
> Today we had an issue with an origin which threw some 500 errors. We noticed
> that trafficserver cached the responses even though we had negative caching
> disabled. When we went to dig into this we noticed that the docs are a bit
> confusing (missing newline after NOTE and response code list) and somewhat
> incomplete-- if a response has cache control directives it will be cached
> regardless of response code.
> This is my first commit to the docs, so hopefully I've done it correctly if
> not please let me know!
--
This message was sent by Atlassian JIRA
(v6.1#6144)