Skip to content

Performance improvement

Choose a tag to compare

@oreoshake oreoshake released this 23 Oct 18:35

@igrep reported an anti-patter in use regarding UserAgentParser. This caused UserAgentParser to reload it's entire configuration set twice* per request. Moving this to a cached constant prevents the constant reinstantiation and will improve performance.

#187