[ 
https://issues.apache.org/jira/browse/TS-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183837#comment-15183837
 ] 

ASF subversion and git services commented on TS-2642:
-----------------------------------------------------

Commit 0792a4a3de317ce2977f1cdcc62801e563601428 in trafficserver's branch 
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=0792a4a ]

TS-2642 Adds a new operator %{NOW} to header_rewrite

This can be used to make time based decisions, such as denying
requests prior to a certain date. Or changing QOS settings based
on time of day.

This closes #517


> header_rewrite Time based Rules
> -------------------------------
>
>                 Key: TS-2642
>                 URL: https://issues.apache.org/jira/browse/TS-2642
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Performance, Plugins
>            Reporter: Faysal Banna
>            Assignee: Leif Hedstrom
>             Fix For: 6.2.0
>
>
> Hi Guys.
> with the great stuff in header_rewrite plugin there comes an issue which 
> arises. 
> Header rewrite plugin can modify configurable options based upon the 
> condition rules and logic we use inside it. 
> the feature am asking for is to add timing condition for those rules 
> example 
> cond %{time} >1600 [AND]
> cond %{time} <2000 
> cond %{time:day} =6
> ....
> .....
> ....
> .... [L]
> where day<= {0,...6} {Sunday...Saturday}
> for example between 20:00 and 23:59 set these conditional rules 
> other than this timing set other rules 
> that would be handy like for instance during high traffic hours of the day no 
> background fill should be applied 
> during late night and early morning hours full background fill would be 
> applied 
> and during medium traffic hours (16:00<->20:00) set background fill not to 
> exceed 20sec 
> much regards 
> Faysal Banna



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to