Invoking Multiple Behaviors

Similarly, multiple behaviors can be invoked for the same set of content. To extend the example above showing two matches:


     {
       "matches": [
         {
           "name": "url-path",
           "value": "path1 path2"
         },
         {
           "name": "http-method",
           "value": "GET"
         }
       ],
       "behaviors": [
         {
           "name": "ip-blacklist",
           "value": "198.18.48.211"
         },
         {
           "name": "content-refresh",
           "type": "epoch",
           "value": "1388534400",
           "params": {
             "mustRevalidate" : true
           }
         }
       ]
     }
   

Now we see that IP 198.18.48.211 will be denied access to this content, and the content in these directories will be refreshed if they were cached by the edge server before the epoch time 1388534400 (Wed, 01 Jan 2014 00:00:00 GMT).