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

Caching options #49

Closed
BassemN opened this issue Feb 8, 2017 · 3 comments
Closed

Caching options #49

BassemN opened this issue Feb 8, 2017 · 3 comments

Comments

@BassemN
Copy link

BassemN commented Feb 8, 2017

Hello,

Thanks for this awesome library.
I'd like to see more caching options to accelerate lookup speed like caching the database file into memory using shmop PHP extension.

Thanks

@dark-rider
Copy link

Are there any caching options for MaxMind DB Reader at all?

By the way, some external examples include "reader->close();", but most and also MaxMind's own examples don't. Is the close command optional or should it even better not be used?

@oschwald
Copy link
Member

@dark-rider, this library does not currently cache data across requests. If you are running into performance issues, I would first recommend trying the extension.

@oschwald
Copy link
Member

oschwald commented Jul 3, 2019

Closing at this is largely a duplicate of #36.

@oschwald oschwald closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants