note 27506 deleted from function.get-browser by cmb

From: Date: Sun, 23 Feb 2020 08:54:00 +0000
Subject: note 27506 deleted from function.get-browser by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214188@lists.php.net to get a copy of this message
Note Submitter: verx at implix dot com ---- Please keep in mind that you should somehow (for example in session) cache the required results of get_browser() because it really slows thinks down. We have experienced that without querying for browser data our scripts would run 120-130% faster. the explanation is that over 200kb long file (browscap.ini) has to be loaded and parsed everytime someone access any page (we need browser results on all pages). So keep results in session and expect a performance boost.

« previous php.notes (#214188) next »