PrestaShop/PrestaShop — pull request #2231 by 123monsite-regis (2014-10-25 15:05:30+00:00)
Title: [*] FO : Performance Mobile detection

The mobile/tablet detection need to be done only one time because the Mobile_Detect depends on quite a lot of regular expressions. ( whith this commit, you gain about 100 calls to str_replace and preg_match )