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

Leif Hedstrom commented on TS-674:
----------------------------------

Looking at some of this code, the evaluation of the "mods" seems suboptimal, 
doing things like strlen() on the data (e.g. png in a suffix mod), on every 
request. We ought to populate such static information in the modifier_el 
structure, e.g.

{code}
struct modifier_el
{
  ModifierTypes type;
  void *opaque_data;
  int data_size;
};
{code}


> cache.config (and possibly other matches) doesn't seem to honor "suffix" mods
> -----------------------------------------------------------------------------
>
>                 Key: TS-674
>                 URL: https://issues.apache.org/jira/browse/TS-674
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Alan M. Carroll
>             Fix For: 2.1.6
>
>
> In a config like
> dest_domain=www.example.com suffix=png action=never-cache
> The "suffix" part does not seem to be honored properly. I.e. the rule above 
> would match any content for www.example.com, not just the .png files as 
> expected. It's possible other "mods" for the rules don't work either, but I 
> know this one doesn't.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to