You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
Loading of geoipcity.inc adds about 30ms to response time on my Windows 7 machine. For example loading facebook PHP API adds only 5ms to the response time. I know its not a lot but since I only need geoip.inc for countries it would be nice if I could only include geoipcity.inc if I really need it. You could maybe put in your documentation that if user wants this he should add it to his composer.json autoload section.
The text was updated successfully, but these errors were encountered:
I think we want our default behavior to autoload both files. If you only need geoip.inc and the time to load the code is an issue for your setup, I would recommend not using composer to load the file.
I think the underlying issue is how the regions are loaded, which could be done lazily, but I don't think we will fix that ourselves given that GeoIP2 will be fully released soon.
Loading of geoipcity.inc adds about 30ms to response time on my Windows 7 machine. For example loading facebook PHP API adds only 5ms to the response time. I know its not a lot but since I only need geoip.inc for countries it would be nice if I could only include geoipcity.inc if I really need it. You could maybe put in your documentation that if user wants this he should add it to his composer.json autoload section.
The text was updated successfully, but these errors were encountered: