The compiled pattern can be even injected to this module as a parameter so it is compiled once at server start and reused for every user. What do you (all) think?