[
https://issues.apache.org/jira/browse/TS-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808303#comment-13808303
]
James Peach commented on TS-2303:
---------------------------------
The resulting text says that "Cache-Control directives from the server
forbidding cache are ignored" for errors, and that "if the origin response
contains `Cache-Control` directives the response will be cached".
These statements almost contradict each other. Is this how it actually behaves,
or could the documentation express this better?
IMHO, Cache-Control should take precedence over the negative_caching_enabled.
> 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)