3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
899 stars 135 forks source link

When & how many times will the useragent(true) load the new database? #150

Open vipreshjha opened 4 years ago

vipreshjha commented 4 years ago

Will the Database be loaded once on process start? Or it will be loaded everytime the require is used in file? Or it will load the database randomly?

appxplore-tech commented 3 years ago

Hi,

Hope this help, even though it is an old question. I do some research by calling the useragent(true) and found that it only loads the database once when this piece of code is called.

Hope @3rd-Eden can verify the answer.