Code Monkey home page Code Monkey logo

Comments (5)

serbanghita avatar serbanghita commented on June 15, 2024

We've had a similar issue #35 and I checked and it seems like BrowserStack is using some 'stock' User-Agents for the virtual machines, so not the real ones. I'll double check with BrowserStack team and see what we can do about it.

Are you using Varnish to cache and speed up the site or for the detection itself?

from mobile-detect.

djbobbydrake avatar djbobbydrake commented on June 15, 2024

Thanks for looking into the issue with BrowserStack. Answer is yes to your question - we're using Varnish both for speed and for detection. We need to move the detection to the Varnish layer, because a request may never hit our web app. We've written a custom drush command (we're using Drupal) that uses your library to write a VCL file that contains the detection logic -- so thanks for the library! It's been working well so far. It did increase the load a lil bit on the Varnish server, and SysOps wanted us to improve the regex, but we didn't want to deviate from your library's regex.

from mobile-detect.

thezonemedia avatar thezonemedia commented on June 15, 2024

any response from browserstack?

from mobile-detect.

serbanghita avatar serbanghita commented on June 15, 2024

@djbobbydrake @thezonemedia received official response from BrowserStack. They are aware of the issue, they are upgrading their solution where this problem will not exist anymore. The update will be in "couple of months". I will notify you when it's done!

Thank you and sorry for the late response.

from mobile-detect.

alvarotrigo avatar alvarotrigo commented on June 15, 2024

+1

from mobile-detect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.