varnishcache / varnish-devicedetect

VCL based device detection for Varnish Cache.
Other
299 stars 88 forks source link

Google Mobile bot #20

Closed jhmartin closed 9 years ago

jhmartin commented 9 years ago

Google has 'mobile' crawlers that identify as smartphone and feature phone. These rules are not classifying it as mobile.

Reference: https://developers.google.com/webmasters/mobile-sites/references/googlebot

It looks like there isn't a definition for a mobile-bot.

dominikschulz commented 9 years ago

Classifying it as a mere "bot" wouldn't help, so there IMHO should be a different category for a mobile-bot. I'm willing to provide a (field tested) patch if you are willing to accept it.

jhmartin commented 9 years ago

@gittex Can you submit it as a PR?

lkarsten commented 9 years ago

@gittex I think this sounds reasonable.

redhat-raptor commented 9 years ago

Hello, I have just sent a pull request for fixing this. Classified the device as "mobile-bot" as it made sense to me also. I already deployed my changes to my production server which is working fine! Thanks!

lkarsten commented 9 years ago

mobile-bot for googlebot mobile is in place now. Thanks for the patience. Closing.