Do groovy filters run in the same order as site.xml in Crafter CMS?

Do groovy filters run in the same order as site.xml in Crafter CMS? For example, will filter1 always run before filter2?

<filter>
            <script>/scripts/filters/filter1.groovy</script>
            <mapping>
                <include>/**</include>
                <exclude></exclude>
            </mapping>
        </filter>
        <filter>
            <script>/scripts/filters/filter2.groovy</script>
            <mapping>
                <include>/**</include>
                <exclude></exclude>
            </mapping>
        </filter>

I am using Crafter 2.5

+4
source share
1 answer

Yes, they must be exec in the same order as define

+3
source

Source: https://habr.com/ru/post/1678015/


All Articles