You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/06/15 18:37:30 UTC

[GitHub] [trafficserver] zwoop opened a new pull request #7942: cache_promote: Don't promote on uncacheable requests

zwoop opened a new pull request #7942:
URL: https://github.com/apache/trafficserver/pull/7942


   The problem is that when we get to "promoted" state, we remove it from the LRU even if the request is not cacheable. This means, even though we want it to promote, it doesn't get written to caches and the LRU is reset. The fix here is to let it continue counting HEAD and Range-requests until we get a cacheable request, and only promote it then.


-- 
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:
users@infra.apache.org