Dispatcher Filter | Community
Skip to main content
Level 2
September 27, 2023
Solved

Dispatcher Filter

  • September 27, 2023
  • 3 replies
  • 964 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

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.

3 replies

TarunKumar
Community Advisor
Community Advisor
September 27, 2023

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

 

Level 2
September 27, 2023

Hi Tarun,

 

Thanks for your reply 

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

Thanks

aanchal-sikka
Community Advisor
Community Advisor
September 27, 2023

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
EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 27, 2023

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
kautuk_sahni
Community Manager
Community Manager
September 28, 2023

@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