Skip to content

Load only subset of UserAgent data? #1554

Answered by nielsbasjes
radarsh asked this question in Q&A
Discussion options

You must be logged in to vote

No that feature is not there out of the box.

There are so many edge cases that pulling the rulesets apart into what you describe would be really hard. The tricky thing is even for just Chrome the patterns have changed over time. So depending on the version things will be structured differently and at some point you can no longer conclude the "Windows 10" marker actually means it was running Windows 10.

You can easily tell Yauaa you are only interested in specified fields, that will automatically drop rules that are not needed to achieve these fields (i.e. some speedup and memory footprint reduction).

If you really want to go bare minimum you can start Yauaa without loading the default rul…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@radarsh
Comment options

@nielsbasjes
Comment options

@radarsh
Comment options

Answer selected by nielsbasjes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants