fdiary opened a new pull request #7422:
URL: https://github.com/apache/trafficserver/pull/7422


   ATS does not update an existing cache of 'negative' response even if ATS 
fetches a fresh equally-negative response from the backend.
   
   When a negative cache becomes stale, ATS fetchs a new version from the 
backend, which, if it is equally negative to the cached version, will be 
discarded and the stale entry will be sent to the client. That means :
   
   * The client cannot get a newer 'negative' response.
   * Once the negative cache becomes stale, all incoming requests will involve 
requests to the backend.
   
   By changing the behaviour of `is_stale_cache_response_returnable` so that it 
does not provide a stale negative cache, we can fix these issues still 
providing a stale 'positive' cache until `negative_revalidating_lifetime` 
reaches.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to