You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/05/07 20:35:19 UTC

[GitHub] [trafficcontrol] traeak opened a new issue #5825: Add regex_revalidate support for MISS

traeak opened a new issue #5825:
URL: https://github.com/apache/trafficcontrol/issues/5825


   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
   the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
   guidelines at https://www.apache.org/security/ regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the Traffic Control slack (https://s.apache.org/atc-slack)
   or Traffic Control mailing lists (https://trafficcontrol.apache.org/mailing_lists).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR.
   -->
   
   ## I'm submitting a ...
   <!-- delete all those that don't apply -->
   <!--- security vulnerability (STOP!! - see above)-->
   -  new feature / enhancement request
   <!--(Please do not submit support requests here - see above)-->
   
   ## Traffic Control components affected ...
   <!-- delete all those that don't apply -->
   -  Traffic Ops
   -  Traffic Ops ORT
   -  Traffic Portal
   -  CI tests
   
   ## Current behavior:
   <!-- Describe how the current features are insufficient. -->
   
   No ability to force asset refetch, only refresh.
   
   ## New behavior:
   <!-- Describe how the feature would improve Traffic Control -->
   
   A new feature will be added to the ATS regex_revalidate plugin to allow refetch in addition to just refresh.
   This is based on ATS PR: https://github.com/apache/trafficserver/pull/6455
   
   This new addition is supported to the regex_revalidate.conf file:
   
   ```
   http://origin\.tld/images/foo\.jpg 1447483647 MISS
   ```
   
   the keyword "STALE" may be also be used or left off for the normal regex_revalidate behavior (the next 2 are equivalent):
   
   ```
   http://origin\.tld/images/foo\.jpg 1447483647
   http://origin\.tld/images/foo\.jpg 1447483647 STALE
   ```
   
   ## Minimal reproduction of the problem with instructions:
   <!--
   If you can illustrate your feature request better with an example, please
   provide the *STEPS TO REPRODUCE* and include the applicable TC version.
   If not, feel free to delete this section.
   -->
   
   ## Anything else:
   <!--
   e.g. additional context, related issues, suggestions about how to approach (feel
   free to delete this section)
   -->
   
   If possible there should be a safety around this.  Worst case behavior of this could result in the refetch of an entire library and not just refreshes.  Perhaps rules can be made as stale and then "promoted" to MISS by an operator.  Any rule that is switched between MISS and STALE is reset and treated as fresh by the regex_revalidate plugin.
   
   <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
   -->
   


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



[GitHub] [trafficcontrol] TaylorCFrey commented on issue #5825: Add regex_revalidate support for MISS

Posted by GitBox <gi...@apache.org>.
TaylorCFrey commented on issue #5825:
URL: https://github.com/apache/trafficcontrol/issues/5825#issuecomment-847904111


   I'll take this one!


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



[GitHub] [trafficcontrol] TaylorCFrey commented on issue #5825: Add regex_revalidate support for MISS

Posted by GitBox <gi...@apache.org>.
TaylorCFrey commented on issue #5825:
URL: https://github.com/apache/trafficcontrol/issues/5825#issuecomment-970716271


   This work was completed as part of PR: https://github.com/apache/trafficcontrol/pull/6118
   
   Good to close!


-- 
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-unsubscribe@trafficcontrol.apache.org

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



[GitHub] [trafficcontrol] mitchell852 closed issue #5825: Add regex_revalidate support for MISS

Posted by GitBox <gi...@apache.org>.
mitchell852 closed issue #5825:
URL: https://github.com/apache/trafficcontrol/issues/5825


   


-- 
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-unsubscribe@trafficcontrol.apache.org

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