Github user bryancall commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/330#discussion_r44595605
  
    --- Diff: proxy/http/HttpTransactCache.cc ---
    @@ -1299,7 +1299,7 @@ 
HttpTransactCache::match_response_to_request_conditionals(HTTPHdr *request, HTTP
           ink_time_t lm_value = response->get_last_modified();
     
           // we won't return NOT_MODIFIED if Last-modified is too recent
    -      if ((lm_value == 0) || (request->get_if_modified_since() < 
lm_value)) {
    --- End diff --
    
    Another acceptable change would be to only allow this optimization if the 
response is cacheable.  In your use case the response from the origin is not 
cacheable.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to