mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
doc: get_browser performance
This commit is contained in:
committed by
Kévin Dunglas
parent
2a205b16ce
commit
6874e44ddd
@@ -38,3 +38,7 @@ The following extensions are known not to be compatible with FrankenPHP:
|
||||
| Name | Reason | Alternatives |
|
||||
| ----------------------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| [imap](https://www.php.net/manual/en/imap.installation.php) | Not thread-safe | [javanile/php-imap2](https://github.com/javanile/php-imap2), [webklex/php-imap](https://github.com/Webklex/php-imap) |
|
||||
|
||||
## get_browser
|
||||
|
||||
The [get_browser](https://www.php.net/manual/en/function.get-browser.php) function seems to have a bad performance after a while. A workaround is to cache (e.g. with APCU) the results per User Agent, as they are static anyway.
|
||||
|
||||
Reference in New Issue
Block a user