Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean and/or optimize url() function in class.request.php #7617

Closed
alex-mtl opened this issue Aug 13, 2018 · 0 comments
Closed

Clean and/or optimize url() function in class.request.php #7617

alex-mtl opened this issue Aug 13, 2018 · 0 comments

Comments

@alex-mtl
Copy link
Contributor

alex-mtl commented Aug 13, 2018

Profiler detects massive calls to url() function with cascade calls to host() and port() functions.
We can improve performance by implementing any kind of static variable for domain part.

 if ($withDomain !== '/') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant