Expand my Community achievements bar.

SOLVED

Dispatcher Filter

Avatar

Level 2

Hi Team,

We have setup dispatcherMaxAgeFilter to set TTL and we have multiple filters applied. We would like to know if there is a way to find out the order in which these filters are executed.

Any help on this would be appreciated

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The filters are executed in order; the first entry will be executed, and so on. Therefore, you only need to examine your "filters" file, identify which one is taking effect, and review its position in the order.



Esteban Bustamante

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @SanthoshAs1 


filter
 section allow us to allow or deny incoming request.
It is a best practice to deny everything at first place and allow request URL's one by one.
Rules get applied in the order listed.


Thanks
Tarun

 

Avatar

Level 2

Hi Tarun,

 

Thanks for your reply 

I am talking about the DispatcherMaxAgeFilter configurations - com.adobe.acs.commons.http.headers.impl.DispatcherMaxAgeHeaderFilter.xml

Thanks

Avatar

Community Advisor

Hello @SanthoshAs1 

 

This header are being passed from publish to dispatcher.

Please use a lower log level for "com.adobe.acs.commons.http" package on publish  and see if it helps.


Aanchal Sikka

Avatar

Correct answer by
Community Advisor

The filters are executed in order; the first entry will be executed, and so on. Therefore, you only need to examine your "filters" file, identify which one is taking effect, and review its position in the order.



Esteban Bustamante

Avatar

Administrator

@SanthoshAs1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni