mlibbey opened a new issue, #12253:
URL: https://github.com/apache/trafficserver/issues/12253

   In
   https://github.com/apache/trafficserver/pull/12241
   we fix some our serving stale if error cases. The existing logic seems like 
it would be straightforward to support 2 CC directives:
   max-stale: https://www.rfc-editor.org/rfc/rfc9111#name-max-stale
   stale-if-error: https://datatracker.ietf.org/doc/html/rfc5861#section-4
   
   eg, 
   if both max-stale and stale-if-error directives exist then test if the 
object age <= max-age + max of (max-stale, stale-if-error)
   else if max-stale directive exists, then test if the object age <= max-age + 
max-stale
   else if stale-if-error directive exists, then test if the object age <= 
max-age + stale-if-error
   else if neither directive, test (the above PR logic) age <= max-age + 
records.config's proxy.config.http.cache.max_stale_age


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to