mitchell852 commented on pull request #5044: URL: https://github.com/apache/trafficcontrol/pull/5044#issuecomment-701472578
> The current workaround for the above "reissue" is to slightly change the regex so that it doesn't match the previous one. > > ``` > http://origin\.tld/images/foo\.jpg 1601564496 > http://origin\.tld/images/foo.jpg 1601823696 > ``` > > Note in the above case the second rule is different from the first so that both are in play. Because the time of rule activation is what is used to compare against the Date in cache the start time of that second rule will force another revalidation. Ok, so basically there is a "bug" right now that you said you are fixing in an ATS PR, correct @traeak and that is the workaround ^^ (2 different regexes). But really, these need to be treated as "different" rules, right? ``` http://origin\.tld/images/foo\.jpg 1601564496 http://origin\.tld/images/foo\.jpg 1601823696 ``` ---------------------------------------------------------------- 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]
