Skip to content

Conversation

@gonzalovilaseca
Copy link
Contributor

In our app we use trusted proxies. Using Blackfire we found IpUtils::checkIp was being called 454 times taking 3.15ms.
Caching the result saves those 3ms.

@gonzalovilaseca
Copy link
Contributor Author

I wonder if the local variable should also be added to the __clone method

In our app we use trusted proxies. Using Blackfire we found `IpUtils::checkIp` was being called 454 times taking 3.15ms. Caching the result saves those 3ms.
@javiereguiluz
Copy link
Member

Thanks for contributing this pull request. However, the repositories of individual Symfony Components are read-only, so pull requests are ignored. Please, submit this pull request to the main Symfony repository at https://github.com/symfony/symfony/pulls

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants